Remove compiler warning for NSBrowser header cell drawing.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@30360 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
fredkiefer 2010-05-11 16:48:44 +00:00
parent d9778cb2a6
commit e45e3bc0b0
3 changed files with 11 additions and 4 deletions

View file

@ -1,3 +1,9 @@
2010-05-11 Fred Kiefer <FredKiefer@gmx.de>
* Headers/Additions/GNUstepGUI/GSTheme.h:
* Source/GSThemeDrawing.m: Remove compiler warning for NSBrowser
header cell drawing.
2010-05-10 Adam Fedor <fedor@gnu.org> 2010-05-10 Adam Fedor <fedor@gnu.org>
* Clarify unstable release documentation * Clarify unstable release documentation

View file

@ -927,11 +927,11 @@ APPKIT_EXPORT NSString *GSThemeWillDeactivateNotification;
state: (int)inputState state: (int)inputState
andTitle: (NSString*)title; andTitle: (NSString*)title;
- (void) drawBrowserHeaderCell: (NSCell*)cell - (void) drawBrowserHeaderCell: (NSTableHeaderCell*)cell
withFrame: (NSRect)rect withFrame: (NSRect)rect
inView: (NSView*)view; inView: (NSView*)view;
- (NSRect) browserHeaderDrawingRectForCell: (NSCell*)cell - (NSRect) browserHeaderDrawingRectForCell: (NSTableHeaderCell*)cell
withFrame: (NSRect)rect; withFrame: (NSRect)rect;
@end @end

View file

@ -42,6 +42,7 @@
#import "AppKit/NSProgressIndicator.h" #import "AppKit/NSProgressIndicator.h"
#import "AppKit/NSScroller.h" #import "AppKit/NSScroller.h"
#import "AppKit/NSStringDrawing.h" #import "AppKit/NSStringDrawing.h"
#import "AppKit/NSTableHeaderCell.h"
#import "AppKit/NSView.h" #import "AppKit/NSView.h"
#import "AppKit/PSOperators.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 withFrame: (NSRect)rect
inView: (NSView*)view; 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 withFrame: (NSRect)rect
{ {
GSDrawTiles *tiles; GSDrawTiles *tiles;