mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 12:00:52 +00:00
In [dealloc] call [deactivate] for active colour wells.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8498 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
47c5ba9a64
commit
b2799ce60c
1 changed files with 3 additions and 0 deletions
|
@ -81,6 +81,9 @@ static NSString *GSColorWellDidBecomeExclusiveNotification =
|
|||
|
||||
- (void)dealloc
|
||||
{
|
||||
if (_is_active)
|
||||
[self deactivate];
|
||||
|
||||
TEST_RELEASE(_the_color);
|
||||
[self unregisterDraggedTypes];
|
||||
[super dealloc];
|
||||
|
|
Loading…
Reference in a new issue