mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 03:20:37 +00:00
Fixup notifications
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3729 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
21b416bf32
commit
9fd1de051c
3 changed files with 43 additions and 2 deletions
|
@ -1649,6 +1649,8 @@ BOOL done = NO;
|
|||
{
|
||||
NSNotificationCenter* nc = [NSNotificationCenter defaultCenter];
|
||||
|
||||
if (delegate)
|
||||
[nc removeObserver: delegate name: nil object: self];
|
||||
delegate = anObject;
|
||||
|
||||
#define SET_DELEGATE_NOTIFICATION(notif_name) \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue