diff --git a/ChangeLog b/ChangeLog index 55974abb4..a10bd111a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2010-05-11 Fred Kiefer + + * Headers/Additions/GNUstepGUI/GSTheme.h: + * Source/GSThemeDrawing.m: Remove compiler warning for NSBrowser + header cell drawing. + 2010-05-10 Adam Fedor * Clarify unstable release documentation diff --git a/Headers/Additions/GNUstepGUI/GSTheme.h b/Headers/Additions/GNUstepGUI/GSTheme.h index d0e66e034..2a9c1f02a 100644 --- a/Headers/Additions/GNUstepGUI/GSTheme.h +++ b/Headers/Additions/GNUstepGUI/GSTheme.h @@ -927,11 +927,11 @@ APPKIT_EXPORT NSString *GSThemeWillDeactivateNotification; state: (int)inputState andTitle: (NSString*)title; -- (void) drawBrowserHeaderCell: (NSCell*)cell +- (void) drawBrowserHeaderCell: (NSTableHeaderCell*)cell withFrame: (NSRect)rect inView: (NSView*)view; -- (NSRect) browserHeaderDrawingRectForCell: (NSCell*)cell +- (NSRect) browserHeaderDrawingRectForCell: (NSTableHeaderCell*)cell withFrame: (NSRect)rect; @end diff --git a/Source/GSThemeDrawing.m b/Source/GSThemeDrawing.m index 743f29c4b..c30cfdc59 100644 --- a/Source/GSThemeDrawing.m +++ b/Source/GSThemeDrawing.m @@ -42,6 +42,7 @@ #import "AppKit/NSProgressIndicator.h" #import "AppKit/NSScroller.h" #import "AppKit/NSStringDrawing.h" +#import "AppKit/NSTableHeaderCell.h" #import "AppKit/NSView.h" #import "AppKit/PSOperators.h" @@ -1436,7 +1437,7 @@ static NSDictionary *titleTextAttributes[3] = {nil, nil, nil}; } -- (void) drawBrowserHeaderCell: (NSCell*)cell +- (void) drawBrowserHeaderCell: (NSTableHeaderCell*)cell withFrame: (NSRect)rect inView: (NSView*)view; { @@ -1455,7 +1456,7 @@ static NSDictionary *titleTextAttributes[3] = {nil, nil, nil}; } } -- (NSRect) browserHeaderDrawingRectForCell: (NSCell*)cell +- (NSRect) browserHeaderDrawingRectForCell: (NSTableHeaderCell*)cell withFrame: (NSRect)rect { GSDrawTiles *tiles;