mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 08:26:27 +00:00
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:
parent
064bb6672c
commit
b941cb44a8
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue