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:
Quentin Mathe 2005-01-21 09:32:50 +00:00
parent 90952ec827
commit efe686d736
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>
* Source/NSTableView.m (-rowAtPoint:): If the heigh of the table

View file

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

View file

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