Fixed minor segfault.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@16780 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Gregory John Casamento 2003-05-24 05:29:35 +00:00
parent 543999b06c
commit b33b4819e1
3 changed files with 11 additions and 4 deletions

View file

@ -1,3 +1,10 @@
2003-05-22 Gregory John Casamento <greg_casamento@yahoo.com>
* GormDocument.m: Made the IB*RemoveConnectorNotification being
sent in removeConnector: the document instead of the connector which
was removed. This prevents a core dump which was occurring when
loading a gorm and removing or renaming outlets/actions.
2003-05-22 Gregory John Casamento <greg_casamento@yahoo.com>
* TODO: Updated.

4
Gorm.m
View file

@ -1027,11 +1027,11 @@ static NSButtonType _buttonTypeForObject( id button )
forKey: @"ApplicationDescription"];
[d setObject: @"Gorm 0.2.5"
forKey: @"ApplicationRelease"];
[d setObject: @"0.2.5 Dec 2002"
[d setObject: @"0.2.7 Dec 2002"
forKey: @"FullVersionID"];
[d setObject: [NSArray arrayWithObjects: @"Pierre-Yves Rivaille <pyrivail@ens-lyon.fr>",
@"Gregory John Casamento <greg_casamento@yahoo.com>",
@"Richard Frith-Macdonald <rfm@gnu.org>",
@"Gregory John Casamento <greg_casamento@yahoo.com>",
nil]
forKey: @"Authors"];
[d setObject: @"Copyright (C) 1999, 2000, 2001, 2002, 2003 Free Software Foundation, Inc."

View file

@ -2252,10 +2252,10 @@ static NSImage *classesImage = nil;
{
NSNotificationCenter *nc = [NSNotificationCenter defaultCenter];
[nc postNotificationName: IBWillRemoveConnectorNotification
object: aConnector];
object: self];
[connections removeObjectIdenticalTo: aConnector];
[nc postNotificationName: IBDidRemoveConnectorNotification
object: aConnector];
object: self];
}
- (void) resignSelectionForEditor: (id<IBEditors>)editor