mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 01:00:38 +00:00
Make last change C89 compatible.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14465 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
98a06d10ca
commit
352ae1bc9a
1 changed files with 2 additions and 2 deletions
|
@ -2100,6 +2100,8 @@ resetCursorRectsForView(NSView *theView)
|
|||
{
|
||||
if (_f.has_closed == NO)
|
||||
{
|
||||
CREATE_AUTORELEASE_POOL(pool);
|
||||
|
||||
/* The NSWindowCloseNotification might result in us being
|
||||
deallocated. To make sure self stays valid as long as is
|
||||
necessary, we retain ourselves here and balance it with a
|
||||
|
@ -2111,8 +2113,6 @@ resetCursorRectsForView(NSView *theView)
|
|||
RETAIN(self);
|
||||
}
|
||||
|
||||
CREATE_AUTORELEASE_POOL(pool);
|
||||
|
||||
[nc postNotificationName: NSWindowWillCloseNotification object: self];
|
||||
_f.has_opened = NO;
|
||||
[[NSRunLoop currentRunLoop]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue