mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-31 00:30:53 +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
5b633b46ff
commit
2a3af127ff
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue