mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-31 01:50:48 +00:00
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:
parent
d938e01461
commit
e04f21516d
4 changed files with 20 additions and 3 deletions
|
@ -47,6 +47,7 @@
|
|||
#import "AppKit/NSWorkspace.h"
|
||||
#import "NSDocumentFrameworkPrivate.h"
|
||||
#import "GSGuiPrivate.h"
|
||||
#import "GSBindingHelpers.h"
|
||||
|
||||
static NSString *NSTypesKey = @"NSTypes";
|
||||
static NSString *NSNameKey = @"NSName";
|
||||
|
@ -327,6 +328,9 @@ TypeInfoForHumanReadableName (NSArray *types, NSString *typeName)
|
|||
|
||||
- (void) dealloc
|
||||
{
|
||||
// Remove all key value bindings for this object.
|
||||
[GSKeyValueBinding unbindAllForObject: self];
|
||||
|
||||
[[[NSWorkspace sharedWorkspace] notificationCenter] removeObserver: self];
|
||||
RELEASE (_documents);
|
||||
RELEASE (_recent_documents);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue