mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 16:10:37 +00:00
Cleanup of memory management in loadNib code. Minor formatting changes in gopen and GSspell.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18264 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
67bf59a067
commit
3f01db306e
5 changed files with 80 additions and 14 deletions
|
@ -286,9 +286,6 @@ Class gmodel_class(void)
|
|||
{
|
||||
id obj;
|
||||
|
||||
// font fallback and automatic translation...
|
||||
// [unarchiver decodeClassName: @"NSString" asClassName: @"GSStringProxy"];
|
||||
|
||||
NSDebugLog(@"Invoking unarchiver");
|
||||
[unarchiver setObjectZone: zone];
|
||||
obj = [unarchiver decodeObject];
|
||||
|
@ -298,12 +295,6 @@ Class gmodel_class(void)
|
|||
{
|
||||
NSDebugLog(@"Calling awakeWithContext");
|
||||
[obj awakeWithContext: context];
|
||||
/*
|
||||
*Ok - it's all done now - just retain the nib container
|
||||
*so that it will not be released when the unarchiver
|
||||
*is released, and the nib contents will persist.
|
||||
*/
|
||||
RETAIN(obj);
|
||||
loaded = YES;
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue