Removed compiler warnings by correcting method names.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14971 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Fred Kiefer 2002-11-11 00:14:04 +00:00
parent 4f3eee6035
commit 1d9f4b6f52
2 changed files with 7 additions and 5 deletions

View file

@ -153,8 +153,10 @@ static inline float defaultFontHeight ()
delta: (int)insertionDelta
inTextContainer:(NSTextContainer *)aTextContainer;
// low level, override but never invoke (use setNeedsDisplayForLineRange:)
- (void) drawLinesInLineRange: (NSRange)aRange;
- (void) drawSelectionAsRangeNoCaret: (NSRange)aRange;
- (void) drawLinesInLineRange: (NSRange)aRange
atPoint: (NSPoint)containerOrigin;
- (void) drawSelectionAsRangeNoCaret: (NSRange)aRange
atPoint: (NSPoint)containerOrigin;
@end
@implementation GSSimpleLayoutManager

View file

@ -1470,7 +1470,7 @@ static NSImage *unexpandable = nil;
NSLog(@"performDragOperation");
if ([_dataSource
respondsToSelector:
@selector(outlineView:acceptDrop:proposedItem:proposedChildIndex:)])
@selector(outlineView:acceptDrop:item:childIndex:)])
{
id item;
int childIndex;
@ -1500,8 +1500,8 @@ static NSImage *unexpandable = nil;
return [_dataSource
outlineView: self
acceptDrop: sender
proposedItem: item
proposedChildIndex: childIndex];
item: item
childIndex: childIndex];
}
else
return NO;