From fb68f59b279e4f5dad29e78cea950eff3708b464 Mon Sep 17 00:00:00 2001 From: FredKiefer Date: Mon, 11 Nov 2002 00:14:04 +0000 Subject: [PATCH] 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 --- Source/GSSimpleLayoutManager.m | 6 ++++-- Source/NSOutlineView.m | 6 +++--- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/Source/GSSimpleLayoutManager.m b/Source/GSSimpleLayoutManager.m index 426615617..82fd70062 100644 --- a/Source/GSSimpleLayoutManager.m +++ b/Source/GSSimpleLayoutManager.m @@ -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 diff --git a/Source/NSOutlineView.m b/Source/NSOutlineView.m index 3175d8b78..024797e11 100644 --- a/Source/NSOutlineView.m +++ b/Source/NSOutlineView.m @@ -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;