Remove initWithCoder: in GormFilesOwner, add code in -[NSIBObjectData initWithDocument:] to set NSFramework value to IBCocoaFramework as it is in nib files.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@23208 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Gregory John Casamento 2006-08-06 04:39:29 +00:00
parent 5f803300ed
commit 3a12289000
3 changed files with 9 additions and 0 deletions

View file

@ -1,3 +1,9 @@
2006-08-06 00:37-EDT Gregory John Casamento <greg_casamento@yahoo.com>
* GormCore/GormFilesOwner.m: Remove implementation of initWithCoder:
* GormCore/GormNibWrapperBuilder.m: In -[NSIBObjectData
initWithDocument:] add code to set NSFramework key.
2006-08-05 08:46-EDT Gregory John Casamento <greg_casamento@yahoo.com>
* GormCore/GormClassManager.m: Fixes to encode classes.nib file

View file

@ -84,6 +84,7 @@
}
}
/*
- (id) initWithCoder: (NSCoder *)coder
{
[NSException raise: NSInvalidArgumentException
@ -91,6 +92,7 @@
NSStringFromClass([self class])];
return nil; // never reached, but keeps gcc happy.
}
*/
@end
@implementation GormFilesOwnerInspector

View file

@ -56,6 +56,7 @@
// Create the container for the .nib file...
ASSIGN(_root, owner);
NSMapInsert(_names, owner, @"File's Owner");
ASSIGN(_framework, @"IBCocoaFramework");
[_topLevelObjects addObjectsFromArray: [[document topLevelObjects] allObjects]];
[_visibleWindows addObjectsFromArray: [[document visibleWindows] allObjects]];