mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 20:01:11 +00:00
Update bindings
This commit is contained in:
parent
6bbad2339c
commit
3e4ef82f7c
1 changed files with 13 additions and 2 deletions
|
@ -163,6 +163,12 @@
|
|||
return [temp sortedArrayUsingDescriptors: _sortDescriptors];
|
||||
}
|
||||
|
||||
- (NSArray*) arrangeObjects: (NSArray*)obj
|
||||
{
|
||||
NSArray *temp = obj;
|
||||
return [temp sortedArrayUsingDescriptors: _sort_descriptors];
|
||||
}
|
||||
|
||||
- (id) arrangedObjects
|
||||
{
|
||||
if (_arranged_objects == nil)
|
||||
|
@ -201,7 +207,7 @@
|
|||
|
||||
- (NSArray*) sortDescriptors
|
||||
{
|
||||
return _sortDescriptors;
|
||||
return _sort_descriptors;
|
||||
}
|
||||
|
||||
- (NSString*) childrenKeyPath
|
||||
|
@ -235,8 +241,13 @@
|
|||
GSKeyValueBinding *theBinding;
|
||||
|
||||
[self setContent: obj];
|
||||
<<<<<<< HEAD
|
||||
theBinding = [GSKeyValueBinding getBinding: NSContentObjectBinding
|
||||
forObject: self];
|
||||
=======
|
||||
theBinding = [GSKeyValueBinding getBinding: NSContentObjectBinding
|
||||
forObject: self];
|
||||
>>>>>>> e8ed44e86 (Update bindings)
|
||||
if (theBinding != nil)
|
||||
[theBinding reverseSetValueFor: @"content"];
|
||||
}
|
||||
|
@ -329,7 +340,7 @@
|
|||
|
||||
- (void) setSortDescriptors: (NSArray*)descriptors
|
||||
{
|
||||
ASSIGN(_sortDescriptors, descriptors);
|
||||
ASSIGN(_sort_descriptors, descriptors);
|
||||
}
|
||||
|
||||
- (NSString*) childrenKeyPathForNode: (NSTreeNode*)node
|
||||
|
|
Loading…
Reference in a new issue