Removed some NSLog statements.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13218 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
gcasa 2002-03-24 02:49:38 +00:00
parent 07925a8b3f
commit 53fba368d2
2 changed files with 6 additions and 3 deletions

View file

@ -1,3 +1,8 @@
Sat Mar 23 21:49:10 2002 Gregory John Casamento <greg_casamento@yahoo.com>
* Source/NSOutlineView.m: Minor cleanup. Removed some unecessary
NSLog statements.
Sat Mar 23 11:34:10 2002 Gregory John Casamento <greg_casamento@yahoo.com> Sat Mar 23 11:34:10 2002 Gregory John Casamento <greg_casamento@yahoo.com>
* Headers/gnustep/gui/NSOutlineView.h: Added dictionary to speed * Headers/gnustep/gui/NSOutlineView.h: Added dictionary to speed

View file

@ -770,7 +770,7 @@ static int _levelForItem(NSDictionary *outlineDict,
// reload all the open items... // reload all the open items...
_loadDictionary(self, nil, _itemDict); _loadDictionary(self, nil, _itemDict);
NSLog(@"Dictionary = %@",_itemDict); // NSLog(@"Dictionary = %@",_itemDict);
[self _openItem: nil]; [self _openItem: nil];
[super reloadData]; [super reloadData];
} }
@ -1012,8 +1012,6 @@ static int _levelForItem(NSDictionary *outlineDict,
NSRect drawingRect = [self frameOfCellAtColumn: 0 NSRect drawingRect = [self frameOfCellAtColumn: 0
row: index]; row: index];
float length = drawingRect.size.width + offset; float length = drawingRect.size.width + offset;
NSLog(@"index = %d, offset = %f, textLength = %f",
index, offset, length);
if(widest < length) widest = length; if(widest < length) widest = length;
} }
// [_outlineTableColumn setWidth: widest]; // [_outlineTableColumn setWidth: widest];