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

@ -122,6 +122,7 @@ first. Remaining cases, highest priority first:
#import "AppKit/DPSOperators.h"
#import "GNUstepGUI/GSLayoutManager_internal.h"
#import "GSBindingHelpers.h"
@interface NSLayoutManager (spelling)
@ -2180,6 +2181,9 @@ static void GSDrawPatternLine(NSPoint start, NSPoint end, NSInteger pattern, CGF
-(void) dealloc
{
// Remove all key value bindings for this object.
[GSKeyValueBinding unbindAllForObject: self];
DESTROY(_typingAttributes);
DESTROY(_temporaryAttributes);
[super dealloc];