mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-22 13:10:59 +00:00
Unarchiving fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@4082 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
fa35a55ba7
commit
ff966ba409
2 changed files with 10 additions and 2 deletions
|
@ -1,3 +1,9 @@
|
|||
Wed Apr 14 16:58:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
|
||||
|
||||
Applied changes by Tim.Bissell@dresdnerkb.com -
|
||||
* Model/GMAppKit.m: Fixed unarchiving of NSButton and NSTextField so
|
||||
they don't refer to [self cell] before initialisation.
|
||||
|
||||
Wed Apr 14 15:04:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
|
||||
|
||||
* Source/NSPasteboard.m: Remove 'system()' and use NSTask to launch
|
||||
|
|
|
@ -165,10 +165,11 @@ void __dummy_GMAppKit_functionForLinking() {}
|
|||
- (id)initWithModelUnarchiver:(GMUnarchiver*)unarchiver
|
||||
{
|
||||
float delay, interval;
|
||||
id theCell = [self cell];
|
||||
id theCell;
|
||||
|
||||
self = [super initWithModelUnarchiver:unarchiver];
|
||||
|
||||
theCell = [self cell];
|
||||
[self setState:[unarchiver decodeIntWithName:@"state"]];
|
||||
|
||||
delay = [unarchiver decodeFloatWithName:@"delay"];
|
||||
|
@ -864,10 +865,11 @@ void __dummy_GMAppKit_functionForLinking() {}
|
|||
|
||||
- (id)initWithModelUnarchiver:(GMUnarchiver*)unarchiver
|
||||
{
|
||||
id theCell = [self cell];
|
||||
id theCell;
|
||||
|
||||
self = [super initWithModelUnarchiver:unarchiver];
|
||||
|
||||
theCell = [self cell];
|
||||
[self setSelectable:[unarchiver decodeBOOLWithName:@"isSelectable"]];
|
||||
[self setErrorAction:[unarchiver decodeSelectorWithName:@"errorAction"]];
|
||||
[self setTextColor:[unarchiver decodeObjectWithName:@"textColor"]];
|
||||
|
|
Loading…
Reference in a new issue