mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-20 17:06:23 +00:00
Remove useless KVB code. I hope to commit better code later on.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@34097 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
7e8ce092b1
commit
c72e465a66
4 changed files with 48 additions and 60 deletions
|
@ -83,11 +83,7 @@ static NSNotificationCenter *nc;
|
|||
[self exposeBinding: NSAlignmentBinding];
|
||||
[self exposeBinding: NSFontBinding];
|
||||
[self exposeBinding: NSFontNameBinding];
|
||||
[self setKeys: [NSArray arrayWithObject: NSFontBinding]
|
||||
triggerChangeNotificationsForDependentKey: NSFontNameBinding];
|
||||
[self exposeBinding: NSFontSizeBinding];
|
||||
[self setKeys: [NSArray arrayWithObject: NSFontBinding]
|
||||
triggerChangeNotificationsForDependentKey: NSFontSizeBinding];
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -1057,8 +1053,6 @@ static NSNotificationCenter *nc;
|
|||
GSKeyValueBinding *kvb;
|
||||
|
||||
[self unbind: binding];
|
||||
// FIXME: We could also do the mapping via
|
||||
// setKeys:triggerChangeNotificationsForDependentKey:
|
||||
kvb = [[GSKeyValueBinding alloc] initWithBinding: @"objectValue"
|
||||
withName: NSValueBinding
|
||||
toObject: anObject
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue