mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-22 13:10:59 +00:00
Fix issues mentioned by @fredkiefer
This commit is contained in:
parent
5d17658b0e
commit
42bae42431
2 changed files with 10 additions and 4 deletions
|
@ -201,8 +201,14 @@
|
|||
|
||||
- (id) copyWithZone: (NSZone *)zone
|
||||
{
|
||||
NSData *d = [NSArchiver archivedDataWithRootObject: self];
|
||||
id copy = [NSUnarchiver unarchiveObjectWithData: d];
|
||||
NSTableCellView *copy = [[NSTableCellView allocWithZone: zone] init];
|
||||
|
||||
[copy setObjectValue: [self objectValue]];
|
||||
[copy setImageView: [self imageView]];
|
||||
[copy setTextField: [self textField]];
|
||||
[copy setDraggingImageComponents: [self draggingImageComponents]];
|
||||
[copy setBackgroundStyle: [self backgroundStyle]];
|
||||
[copy setRowSizeStyle: [self rowSizeStyle]];
|
||||
|
||||
return copy;
|
||||
}
|
||||
|
|
|
@ -6744,7 +6744,7 @@ For a more detailed explanation, -setSortDescriptors:. */
|
|||
{
|
||||
id result = nil;
|
||||
GSKeyValueBinding *theBinding;
|
||||
|
||||
|
||||
theBinding = [GSKeyValueBinding getBinding: NSValueBinding
|
||||
forObject: tb];
|
||||
if (theBinding != nil)
|
||||
|
@ -6896,7 +6896,7 @@ For a more detailed explanation, -setSortDescriptors:. */
|
|||
return [path section];
|
||||
}
|
||||
|
||||
- (NSView *) makeViewWithIdentifier: (NSUserInterfaceItemIdentifier)identifier owner:(id)owner
|
||||
- (NSView *) makeViewWithIdentifier: (NSUserInterfaceItemIdentifier)identifier owner: (id)owner
|
||||
{
|
||||
NSView *view = [_registeredViews objectForKey: identifier];
|
||||
|
||||
|
|
Loading…
Reference in a new issue