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:
Fred Kiefer 2001-01-08 01:05:32 +00:00
parent 47c5ba9a64
commit b2799ce60c

View file

@ -81,6 +81,9 @@ static NSString *GSColorWellDidBecomeExclusiveNotification =
- (void)dealloc
{
if (_is_active)
[self deactivate];
TEST_RELEASE(_the_color);
[self unregisterDraggedTypes];
[super dealloc];