mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 07:00:46 +00:00
Make dealloc of NSWindow a tiny bit saver.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@30321 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
0ea019f35f
commit
da7fd680fb
2 changed files with 6 additions and 2 deletions
|
@ -1,3 +1,7 @@
|
|||
2010-05-02 Fred Kiefer <FredKiefer@gmx.de>
|
||||
|
||||
* Source/NSWindow.m (-dealloc): Use DESTROY instead of RELEASE.
|
||||
|
||||
2010-05-07 Wolfgang Lux <wolfgang.lux@gmail.com>
|
||||
|
||||
* Source/GSWindowDecorationView.m (-layout): Fix a regression
|
||||
|
|
|
@ -741,7 +741,7 @@ many times.
|
|||
|
||||
- (void) dealloc
|
||||
{
|
||||
RELEASE(_toolbar);
|
||||
DESTROY(_toolbar);
|
||||
[nc removeObserver: self];
|
||||
[isa _removeAutodisplayedWindow: self];
|
||||
[NSApp removeWindowsItem: self];
|
||||
|
@ -764,7 +764,7 @@ many times.
|
|||
NSWindow *mini = [NSApp windowWithWindowNumber: _counterpart];
|
||||
|
||||
_counterpart = 0;
|
||||
RELEASE(mini);
|
||||
DESTROY(mini);
|
||||
}
|
||||
|
||||
/* Clean references to this window - important if some of the views
|
||||
|
|
Loading…
Reference in a new issue