Removed some compiler warnings and unneeded direct drawing.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23119 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
fredkiefer 2006-07-02 11:25:04 +00:00
parent 65ba520a1e
commit e2530f9bc8
5 changed files with 26 additions and 19 deletions

View file

@ -1456,8 +1456,6 @@ static NSImage *unexpandable = nil;
// move the drawing rect over like in the drawRow routine...
drawingRect = [self frameOfCellAtColumn: columnIndex row: rowIndex];
[self lockFocus];
if (tb == [self outlineTableColumn])
{
level = [self levelForItem: item];
@ -1481,7 +1479,10 @@ static NSImage *unexpandable = nil;
// draw...
imageRect.size.width = [image size].width;
imageRect.size.height = [image size].height;
[self lockFocus];
[imageCell drawWithFrame: imageRect inView: self];
[self unlockFocus];
}
if (flag)
@ -1502,7 +1503,6 @@ static NSImage *unexpandable = nil;
event: theEvent];
}
[self unlockFocus];
return;
}