Removed keyed archiver code in deprecated template.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18604 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Gregory John Casamento 2004-02-15 23:07:07 +00:00
parent 13a4046e1a
commit 415b47a0bc
2 changed files with 14 additions and 5 deletions

View file

@ -1,3 +1,10 @@
2004-02-15 20:56 Gregory John Casamento <greg_casamento@yahoo.com>
* Source/GSNibCompatibility.m: Removal of keyed archiver
code in deprecated template NSWindowTemplate. I commented this
out as we need to determine how to implement this with the
keyed archiver changes in the new templates.
2004-02-15 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSLayoutManager.m:

View file

@ -97,6 +97,7 @@
- (id) initWithCoder: (NSCoder *)aDecoder
{
/*
if ([aDecoder allowsKeyedCoding])
{
NSRect screenRect = [aDecoder decodeRectForKey: @"NSScreenRect"];
@ -133,11 +134,12 @@
}
else
{
[aDecoder decodeValueOfObjCType: @encode(id) at: &_className];
[aDecoder decodeValueOfObjCType: @encode(id) at: &_parentClassName];
[aDecoder decodeValueOfObjCType: @encode(BOOL) at: &_deferFlag];
return [super initWithCoder: aDecoder];
}
*/
[aDecoder decodeValueOfObjCType: @encode(id) at: &_className];
[aDecoder decodeValueOfObjCType: @encode(id) at: &_parentClassName];
[aDecoder decodeValueOfObjCType: @encode(BOOL) at: &_deferFlag];
return [super initWithCoder: aDecoder];
//}
}
- (void) encodeWithCoder: (NSCoder *)aCoder