Cope with removal of old notification stuff

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2864 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 1998-07-24 11:23:18 +00:00
parent 064bb6672c
commit b941cb44a8

View file

@ -212,7 +212,7 @@
- (NSConnection*) connection: ancestor didConnect: newConn
{
printf("%s\n", sel_get_name(_cmd));
[NotificationDispatcher
[NSNotificationCenter
addObserver: self
selector: @selector(connectionBecameInvalid:)
name: NSConnectionDidDieNotification
@ -240,7 +240,7 @@ int main(int argc, char *argv[])
withRootObject:l];
else
c = [NSConnection newRegisteringAtName:@"test2server" withRootObject:l];
[NotificationDispatcher
[NSNotificationCenter
addObserver: l
selector: @selector(connectionBecameInvalid:)
name: NSConnectionDidDieNotification