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 1998-07-24 11:23:18 +00:00
parent 5b633b46ff
commit 2a3af127ff

View file

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