fix c99-ism

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29759 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Riccardo Mottola 2010-02-25 23:13:08 +00:00
parent e0b40e98fc
commit 04cf85a424
2 changed files with 5 additions and 2 deletions

View file

@ -1,6 +1,7 @@
2010-02-25 Riccardo Mottola <rmottola@users.sf.net>
* Source/NSDrawer.m: removed c99-isms
* Source/GSTitleView.m: removed c99-isms
2010-02-24 Richard Frith-Macdonald <rfm@gnu.org>

View file

@ -139,11 +139,13 @@
}
else if ([owner isKindOfClass: [NSMenu class]])
{
NSColor *textColor;
GSTheme *theme;
NSDebugLLog(@"GSTitleView", @"owner is NSMenu");
_owner = owner;
_ownedByMenu = YES;
NSColor *textColor;
GSTheme *theme = [GSTheme theme];
theme = [GSTheme theme];
RELEASE (titleColor);
titleColor = RETAIN ([theme colorNamed: @"GSMenuBar" state: GSThemeNormalState]);