mirror of
https://github.com/gnustep/apps-gorm.git
synced 2025-02-24 03:51:22 +00:00
palette deallocation fixes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@13050 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
dc24d79035
commit
4752727ade
4 changed files with 10 additions and 4 deletions
|
@ -1,3 +1,9 @@
|
|||
2002-03-08 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
* IBInspector.m: Don't release window on dealloc ... assume it
|
||||
* releases itsself when closed.
|
||||
* IBPalette.m: ditto
|
||||
|
||||
2002-03-06 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
* IBInspector.m: Release all ivars on dealloc.
|
||||
|
|
6
Gorm.h
6
Gorm.h
|
@ -337,7 +337,8 @@ extern NSString *IBClassNameChangedNotification;
|
|||
with: (NSView*)aView;
|
||||
|
||||
/**
|
||||
* Releases all the instance variables and removes self as an observer
|
||||
* Releases all the instance variables apart from the window (which is
|
||||
* presumed to release itsself when closed) and removes self as an observer
|
||||
* of notifications before destroying self.
|
||||
*/
|
||||
- (void) dealloc;
|
||||
|
@ -386,7 +387,8 @@ extern NSString *IBClassNameChangedNotification;
|
|||
}
|
||||
|
||||
/**
|
||||
* Releases all the instance variables and removes self as an observer
|
||||
* Releases all the instance variables (apart from the window, which is
|
||||
* presumed to release itself when closed) and removes self as an observer
|
||||
* of notifications before destroying self.
|
||||
*/
|
||||
- (void) dealloc;
|
||||
|
|
|
@ -38,7 +38,6 @@ NSString *IBSelectionChangedNotification
|
|||
RELEASE(object);
|
||||
RELEASE(okButton);
|
||||
RELEASE(revertButton);
|
||||
RELEASE(window);
|
||||
[super dealloc];
|
||||
}
|
||||
|
||||
|
|
|
@ -82,7 +82,6 @@ static NSMapTable *viewToType = 0;
|
|||
{
|
||||
[[NSNotificationCenter defaultCenter] removeObserver: self];
|
||||
RELEASE(icon);
|
||||
RELEASE(window);
|
||||
[super dealloc];
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue