From 12ce22bf5984a30e95b300519fa5acedae5a154d Mon Sep 17 00:00:00 2001 From: FredKiefer Date: Tue, 26 Feb 2002 14:38:50 +0000 Subject: [PATCH] [NSIconWindow orderWindow:relativeTo:] don't complain about order out if application is closing. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12780 72102866-910b-0410-8b05-ffd578937521 --- Source/NSApplication.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/NSApplication.m b/Source/NSApplication.m index cb826037b..b64f3b2c1 100644 --- a/Source/NSApplication.m +++ b/Source/NSApplication.m @@ -266,7 +266,7 @@ NSApplication *NSApp = nil; - (void) orderWindow: (NSWindowOrderingMode)place relativeTo: (int)otherWin { - if (place == NSWindowOut) + if ((place == NSWindowOut) && [NSApp isRunning]) { NSLog (@"Argh - icon window ordered out"); }