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:
uid65715 2003-12-23 18:45:18 +00:00
parent 67bf59a067
commit 3f01db306e
5 changed files with 80 additions and 14 deletions

View file

@ -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