mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-31 22:00:46 +00:00
Avoid annoying messages on first system startup about empty map table.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27713 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
6b2465b650
commit
0a03a0999e
2 changed files with 8 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2009-01-28 Fred Kiefer <FredKiefer@gmx.de>
|
||||||
|
|
||||||
|
* Source/NSWindow.m (GSWindowWithNumber): Protect agains
|
||||||
|
windowmaps not being set.
|
||||||
|
|
||||||
2009-01-27 15:28-EST Gregory John Casamento <greg_casamento@yahoo.com>
|
2009-01-27 15:28-EST Gregory John Casamento <greg_casamento@yahoo.com>
|
||||||
|
|
||||||
* Source/GSNibLoading.m: Temporarily comment out the release of
|
* Source/GSNibLoading.m: Temporarily comment out the release of
|
||||||
|
|
|
@ -5336,5 +5336,7 @@ NSArray* GSAllWindows(void)
|
||||||
|
|
||||||
NSWindow* GSWindowWithNumber(int num)
|
NSWindow* GSWindowWithNumber(int num)
|
||||||
{
|
{
|
||||||
return (NSWindow*)NSMapGet(windowmaps, (void*)(intptr_t)num);
|
if (windowmaps)
|
||||||
|
return (NSWindow*)NSMapGet(windowmaps, (void*)(intptr_t)num);
|
||||||
|
return nil;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue