mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-31 05:30:47 +00:00
Tiny tidy up
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6676 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
5eeb5e1bf8
commit
9ee23df74d
1 changed files with 3 additions and 1 deletions
|
@ -3046,7 +3046,9 @@ resetCursorRectsForView(NSView *theView)
|
||||||
NSNotificationCenter *nc = [NSNotificationCenter defaultCenter];
|
NSNotificationCenter *nc = [NSNotificationCenter defaultCenter];
|
||||||
|
|
||||||
if (_delegate)
|
if (_delegate)
|
||||||
[nc removeObserver: _delegate name: nil object: self];
|
{
|
||||||
|
[nc removeObserver: _delegate name: nil object: self];
|
||||||
|
}
|
||||||
_delegate = anObject;
|
_delegate = anObject;
|
||||||
|
|
||||||
#define SET_DELEGATE_NOTIFICATION(notif_name) \
|
#define SET_DELEGATE_NOTIFICATION(notif_name) \
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue