mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 15:10:38 +00:00
Merged in 'dawn' CVS branch
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3827 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
ac6ec019f7
commit
55b55d3fee
65 changed files with 794 additions and 774 deletions
|
@ -280,7 +280,7 @@ static NSLock *gnustep_color_list_lock;
|
|||
//
|
||||
// NSCoding protocol
|
||||
//
|
||||
- (void)encodeWithCoder:aCoder
|
||||
- (void) encodeWithCoder: (NSCoder*)aCoder
|
||||
{
|
||||
[aCoder encodeObject: list_name];
|
||||
[aCoder encodeObject: color_list];
|
||||
|
@ -288,12 +288,12 @@ static NSLock *gnustep_color_list_lock;
|
|||
[aCoder encodeValueOfObjCType:@encode(BOOL) at: &is_editable];
|
||||
}
|
||||
|
||||
- initWithCoder:aDecoder
|
||||
- (id) initWithCoder: (NSCoder*)aDecoder
|
||||
{
|
||||
list_name = [aDecoder decodeObject];
|
||||
color_list = [aDecoder decodeObject];
|
||||
color_list_keys = [aDecoder decodeObject];
|
||||
[aDecoder decodeValueOfObjCType:@encode(BOOL) at: &is_editable];
|
||||
[aDecoder decodeValueOfObjCType: @encode(id) at: &list_name];
|
||||
[aDecoder decodeValueOfObjCType: @encode(id) at: &color_list];
|
||||
[aDecoder decodeValueOfObjCType: @encode(id) at: &color_list_keys];
|
||||
[aDecoder decodeValueOfObjCType: @encode(BOOL) at: &is_editable];
|
||||
|
||||
return self;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue