Unbind key bindings.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@33511 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
fredkiefer 2011-07-11 08:40:31 +00:00
parent d938e01461
commit e04f21516d
4 changed files with 20 additions and 3 deletions

View file

@ -76,18 +76,18 @@
#import "AppKit/NSView.h"
#import "AppKit/NSWindow.h"
#import "AppKit/NSWindowController.h"
#import "GSBindingHelpers.h"
#import "AppKit/PSOperators.h"
#import "GNUstepGUI/GSTheme.h"
#import "GNUstepGUI/GSTrackingRect.h"
#import "GNUstepGUI/GSDisplayServer.h"
#import "GNUstepGUI/GSWindowDecorationView.h"
#import "GSBindingHelpers.h"
#import "GSGuiPrivate.h"
#import "GSToolTips.h"
#import "GSIconManager.h"
#import "NSToolbarFrameworkPrivate.h"
#import <GNUstepGUI/GSWindowDecorationView.h>
#define GSI_ARRAY_TYPES 0
#define GSI_ARRAY_TYPE NSWindow *
#define GSI_ARRAY_NO_RELEASE 1
@ -754,6 +754,9 @@ many times.
- (void) dealloc
{
// Remove all key value bindings for this object.
[GSKeyValueBinding unbindAllForObject: self];
DESTROY(_toolbar);
[nc removeObserver: self];
[[self class] _removeAutodisplayedWindow: self];