Tweak last change

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28846 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
rfm 2009-10-19 10:49:10 +00:00
parent 37b8ed30da
commit 481441ccea
2 changed files with 3 additions and 3 deletions

View file

@ -188,7 +188,7 @@ typedef enum {
/** Function to convert a fill style enumeration value to a string.<br /> /** Function to convert a fill style enumeration value to a string.<br />
* Returns nil on failure. * Returns nil on failure.
*/ */
extern const NSString * extern NSString *
GSThemeStringFromFillStyle(GSThemeFillStyle s); GSThemeStringFromFillStyle(GSThemeFillStyle s);
/** Function to convert a string to a fill style enumeration value.<br /> /** Function to convert a string to a fill style enumeration value.<br />

View file

@ -78,7 +78,7 @@ NSString *GSThemeWillActivateNotification
NSString *GSThemeWillDeactivateNotification NSString *GSThemeWillDeactivateNotification
= @"GSThemeWillDeactivateNotification"; = @"GSThemeWillDeactivateNotification";
extern const NSString * NSString *
GSThemeStringFromFillStyle(GSThemeFillStyle s) GSThemeStringFromFillStyle(GSThemeFillStyle s)
{ {
switch (s) switch (s)
@ -93,7 +93,7 @@ GSThemeStringFromFillStyle(GSThemeFillStyle s)
return nil; return nil;
} }
extern GSThemeFillStyle GSThemeFillStyle
GSThemeFillStyleFromString(NSString *s) GSThemeFillStyleFromString(NSString *s)
{ {
if ([s isEqualToString: @"None"]) if ([s isEqualToString: @"None"])