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:
Richard Frith-MacDonald 1999-02-17 04:52:58 +00:00
parent 21b416bf32
commit 9fd1de051c
3 changed files with 43 additions and 2 deletions

View file

@ -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) \