mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 12:00:39 +00:00
_setup() corrected a problem from the last change
Removed obsolete super calls in GSTextInfo coding methods. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7766 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
a38bc02f22
commit
45ce951b30
1 changed files with 1 additions and 3 deletions
|
@ -101,14 +101,12 @@
|
|||
|
||||
- (void) encodeWithCoder: (NSCoder*)aCoder
|
||||
{
|
||||
[super encodeWithCoder: aCoder];
|
||||
[aCoder encodeValueOfObjCType: @encode(unsigned) at: &loc];
|
||||
[aCoder encodeValueOfObjCType: @encode(id) at: &attrs];
|
||||
}
|
||||
|
||||
- (id) initWithCoder: (NSCoder*)aCoder
|
||||
{
|
||||
self = [super initWithCoder: aCoder];
|
||||
[aCoder decodeValueOfObjCType: @encode(unsigned) at: &loc];
|
||||
[aCoder decodeValueOfObjCType: @encode(id) at: &attrs];
|
||||
return self;
|
||||
|
@ -153,7 +151,7 @@ static void _setup()
|
|||
infCls = [GSTextInfo class];
|
||||
infImp = [infCls methodForSelector: infSel];
|
||||
|
||||
a = [[NSMutableArray allocWithZone: z] initWithCapacity: 1];
|
||||
a = [[NSMutableArray allocWithZone: NSDefaultMallocZone()] initWithCapacity: 1];
|
||||
addImp = (void (*)())[a methodForSelector: addSel];
|
||||
cntImp = (unsigned (*)())[a methodForSelector: cntSel];
|
||||
insImp = (void (*)())[a methodForSelector: insSel];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue