mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 16:20:38 +00:00
Tidied
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6048 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
35cecfa35d
commit
31a05a9e19
1 changed files with 2 additions and 1 deletions
|
@ -1318,6 +1318,7 @@ resetCursorRectsForView(NSView *theView)
|
|||
- (void) close
|
||||
{
|
||||
NSNotificationCenter *nc = [NSNotificationCenter defaultCenter];
|
||||
CREATE_AUTORELEASE_POOL(pool);
|
||||
|
||||
[nc postNotificationName: NSWindowWillCloseNotification object: self];
|
||||
_f.has_opened = NO;
|
||||
|
@ -1327,7 +1328,7 @@ resetCursorRectsForView(NSView *theView)
|
|||
argument: nil];
|
||||
[NSApp removeWindowsItem: self];
|
||||
[self orderOut: self];
|
||||
|
||||
RELEASE(pool);
|
||||
if (_f.is_released_when_closed)
|
||||
RELEASE(self);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue