mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-06-02 14:20:59 +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
f330e81ccd
commit
2fb0700465
1 changed files with 2 additions and 2 deletions
|
@ -2100,6 +2100,8 @@ resetCursorRectsForView(NSView *theView)
|
||||||
{
|
{
|
||||||
if (_f.has_closed == NO)
|
if (_f.has_closed == NO)
|
||||||
{
|
{
|
||||||
|
CREATE_AUTORELEASE_POOL(pool);
|
||||||
|
|
||||||
/* The NSWindowCloseNotification might result in us being
|
/* The NSWindowCloseNotification might result in us being
|
||||||
deallocated. To make sure self stays valid as long as is
|
deallocated. To make sure self stays valid as long as is
|
||||||
necessary, we retain ourselves here and balance it with a
|
necessary, we retain ourselves here and balance it with a
|
||||||
|
@ -2111,8 +2113,6 @@ resetCursorRectsForView(NSView *theView)
|
||||||
RETAIN(self);
|
RETAIN(self);
|
||||||
}
|
}
|
||||||
|
|
||||||
CREATE_AUTORELEASE_POOL(pool);
|
|
||||||
|
|
||||||
[nc postNotificationName: NSWindowWillCloseNotification object: self];
|
[nc postNotificationName: NSWindowWillCloseNotification object: self];
|
||||||
_f.has_opened = NO;
|
_f.has_opened = NO;
|
||||||
[[NSRunLoop currentRunLoop]
|
[[NSRunLoop currentRunLoop]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue