* Source/GSNibLoading.m (NSIBObjectData-nibInstantiateWithOwner:topLevelObjects:): Loop

over _names instead of _objects.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@30035 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
fredkiefer 2010-03-25 20:41:06 +00:00
parent 9426e71556
commit a82a10471f
2 changed files with 8 additions and 1 deletions

View file

@ -1,3 +1,9 @@
2010-03-25 Fred Kiefer <FredKiefer@gmx.de>
* Source/GSNibLoading.m
(NSIBObjectData-nibInstantiateWithOwner:topLevelObjects:): Loop
over _names instead of _objects.
2010-03-25 Fred Kiefer <FredKiefer@gmx.de>
* Headers/AppKit/NSController.h

View file

@ -1897,7 +1897,8 @@ static BOOL _isInInterfaceBuilder = NO;
// iterate over all objects, instantiate, awaken objects and fill
// in top level array.
objs = NSAllMapTableKeys(_objects);
// We use the _names map not the _objects map here. This seems to give better results.
objs = NSAllMapTableKeys(_names);
en = [objs objectEnumerator];
while ((obj = [en nextObject]) != nil)
{