Use objectForKey: instead of stringForKey:.

Patch by Wolfgang Lux <wolfgang.lux@gmail.com>.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@25548 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Fred Kiefer 2007-10-31 16:50:32 +00:00
parent 7d6accae9a
commit a9e8d647b2
2 changed files with 9 additions and 3 deletions

View file

@ -1,3 +1,9 @@
2007-10-31 Fred Kiefer <FredKiefer@gmx.de>
* Source/x11/XGServerWindow.m (-_setupRootWindow): Use
objectForKey: instead of stringForKey:.
Patch by Wolfgang Lux <wolfgang.lux@gmail.com>.
2007-10-30 Adam Fedor <fedor@gnu.org>
* gnustep-back.spec.in: Change Copyright to License.

View file

@ -1396,20 +1396,20 @@ _get_next_prop_new_event(Display *display, XEvent *event, char *arg)
if ((generic.wm & XGWM_WINDOWMAKER) != 0)
{
generic.flags.useWindowMakerIcons = YES;
if ([defs stringForKey: @"UseWindowMakerIcons"] != nil
if ([defs objectForKey: @"UseWindowMakerIcons"] != nil
&& [defs boolForKey: @"UseWindowMakerIcons"] == NO)
{
generic.flags.useWindowMakerIcons = NO;
}
}
generic.flags.appOwnsMiniwindow = YES;
if ([defs stringForKey: @"GSAppOwnsMiniwindow"] != nil
if ([defs objectForKey: @"GSAppOwnsMiniwindow"] != nil
&& [defs boolForKey: @"GSAppOwnsMiniwindow"] == NO)
{
generic.flags.appOwnsMiniwindow = NO;
}
generic.flags.doubleParentWindow = NO;
if ([defs stringForKey: @"GSDoubleParentWindows"] != nil
if ([defs objectForKey: @"GSDoubleParentWindows"] != nil
&& [defs boolForKey: @"GSDoubleParentWindows"] == YES)
{
generic.flags.doubleParentWindow = YES;