diff --git a/Source/NSOutlineView.m b/Source/NSOutlineView.m index 2d55bf507..f434f1be0 100644 --- a/Source/NSOutlineView.m +++ b/Source/NSOutlineView.m @@ -110,7 +110,6 @@ static NSImage *unexpandable = nil; - (void) _setObjectValue: (id)value forTableColumn: (NSTableColumn *)tb row: (int) index; -- (int) _numRows; @end // These methods are private... @@ -1710,6 +1709,11 @@ Also returns the child index relative to this parent. */ return; } +- (NSInteger) numberOfRows +{ + return [_items count]; +} + @end /* implementation of NSOutlineView */ @implementation NSOutlineView (NotificationRequestMethods) @@ -1914,11 +1918,6 @@ Also returns the child index relative to this parent. */ } } -- (int) _numRows -{ - return [_items count]; -} - @end @implementation NSOutlineView (TableViewInternalPrivate)