Override awakeWithContext: to prevent issues when loading .gorm files.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@17577 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Gregory John Casamento 2003-08-31 03:46:46 +00:00
parent b8f1c90ade
commit 3894b807de
2 changed files with 12 additions and 0 deletions

View file

@ -1,3 +1,10 @@
2003-08-30 Gregory John Casamento <greg_casamento@yahoo.com>
* GormDocument.m: Added blank implementation of awakeWithContext:
since this method is only used to establish connections in a live
application. This should not be done when the file is loaded
into Gorm itself.
2003-08-30 Gregory John Casamento <greg_casamento@yahoo.com>
* GormImageEditor.m: Minor correction to allow compilation with

View file

@ -173,6 +173,11 @@ static NSImage *classesImage = nil;
}
}
- (void) awakeWithContext: (NSDictionary *)context
{
// do nothing.. This is defined to override the one in GSNibContainer.
}
- (void) addConnector: (id<IBConnectors>)aConnector
{
if ([connections indexOfObjectIdenticalTo: aConnector] == NSNotFound)