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:
FredKiefer 2002-11-11 00:14:04 +00:00
parent 0b83965263
commit fb68f59b27
2 changed files with 7 additions and 5 deletions

View file

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

View file

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