Fixed GNUMail compilation with recent Darwin linker versions

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20588 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
qmathe 2005-01-21 09:32:50 +00:00
parent 5e2505a44f
commit bbf693d751
3 changed files with 11 additions and 5 deletions

View file

@ -1,3 +1,12 @@
2005-01-21 Quentin Mathe <qmathe@club-internet.fr>
* Source/GSToolbarView.m:
* Headers/Additions/GNUstepGUI/GSToolbarView.h:
Renamed the NSColor(Extensions) category with the more descriptive name
NSColor(GSToolbarViewAdditions). This modification permits GNUMail
compilation with recent Darwin linker versions which prevented it
because GNUMail has a NSColor category identically named "Extensions".
2005-01-20 Fred Kiefer <FredKiefer@gmx.de> 2005-01-20 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSTableView.m (-rowAtPoint:): If the heigh of the table * Source/NSTableView.m (-rowAtPoint:): If the heigh of the table

View file

@ -79,7 +79,7 @@ typedef enum {
@end @end
// Toolbar related NSColor methods // Toolbar related NSColor methods
@interface NSColor (Extensions) @interface NSColor (GSToolbarViewAdditions)
+ (NSColor *) toolbarBackgroundColor; + (NSColor *) toolbarBackgroundColor;
+ (NSColor *) toolbarBorderColor; + (NSColor *) toolbarBorderColor;
@end @end

View file

@ -66,9 +66,6 @@ static NSColor *BorderColor;
// Toolbar color extensions // Toolbar color extensions
@interface NSColor (GNUstepPrivate)
+ (NSColor *) colorFromString: (NSString *)string;
@end
static void initSystemExtensionsColors(void) static void initSystemExtensionsColors(void)
{ {
@ -128,7 +125,7 @@ static void initSystemExtensionsColors(void)
} }
} }
@implementation NSColor (Extensions) @implementation NSColor (GSToolbarViewAdditions)
+ (NSColor *) toolbarBackgroundColor + (NSColor *) toolbarBackgroundColor
{ {
return [SystemExtensionsColors colorWithKey: @"toolbarBackgroundColor"]; return [SystemExtensionsColors colorWithKey: @"toolbarBackgroundColor"];