mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-29 21:37:39 +00:00
Fix issues with last commit.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@30019 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
d205cd7f9e
commit
68ce541e5d
3 changed files with 39 additions and 14 deletions
|
@ -154,6 +154,19 @@ static NSString *GSInternalNibItemAddedNotification = @"_GSInternalNibItemAddedN
|
|||
NSMutableArray *topObjects;
|
||||
id obj;
|
||||
|
||||
// Add these objects with there old names as the code expects them
|
||||
context = AUTORELEASE([context mutableCopyWithZone: [context zone]]);
|
||||
obj = [context objectForKey: @"NSNibTopLevelObjects"];
|
||||
if (obj != nil)
|
||||
{
|
||||
[(NSMutableDictionary*)context setObject: obj forKey: @"NSTopLevelObjects"];
|
||||
}
|
||||
obj = [context objectForKey: @"NSNibOwner"];
|
||||
if (obj != nil)
|
||||
{
|
||||
[(NSMutableDictionary*)context setObject: obj forKey: @"NSOwner"];
|
||||
}
|
||||
|
||||
isAwake = YES;
|
||||
/*
|
||||
* Add local entries into name table.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue