mirror of
https://github.com/gnustep/apps-gorm.git
synced 2025-04-22 22:20:44 +00:00
2006-08-14 21:48-EDT Gregory John Casamento <greg_casamento@yahoo.com>
* GormCore/GormNibWrapperBuilder.m: Properly encode oids as integers in -[NSIBObjectData initWithDocument:] since bug#17426 is corrected. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@23290 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
94afd25de3
commit
38808c068b
2 changed files with 10 additions and 8 deletions
|
@ -1,3 +1,9 @@
|
|||
2006-08-14 21:48-EDT Gregory John Casamento <greg_casamento@yahoo.com>
|
||||
|
||||
* GormCore/GormNibWrapperBuilder.m: Properly encode oids as
|
||||
integers in -[NSIBObjectData initWithDocument:] since bug#17426
|
||||
is corrected.
|
||||
|
||||
2006-08-14 01:04-EDT Gregory John Casamento <greg_casamento@yahoo.com>
|
||||
|
||||
* GormCore/GormNibWrapperBuilder.m: Temporary workaround in
|
||||
|
|
|
@ -56,7 +56,7 @@
|
|||
// Create the container for the .nib file...
|
||||
ASSIGN(_root, owner);
|
||||
NSMapInsert(_names, owner, @"File's Owner");
|
||||
NSMapInsert(_oids, owner, [NSString stringWithFormat: @"%d", oid++]); // [[NSNumber alloc] initWithUnsignedInt: oid++]);
|
||||
NSMapInsert(_oids, owner, [[NSNumber alloc] initWithUnsignedInt: oid++]);
|
||||
ASSIGN(_framework, @"IBCocoaFramework");
|
||||
[_topLevelObjects addObjectsFromArray: [[document topLevelObjects] allObjects]];
|
||||
[_visibleWindows addObjectsFromArray: [[document visibleWindows] allObjects]];
|
||||
|
@ -64,13 +64,9 @@
|
|||
// fill in objects and connections....
|
||||
while((o = [en nextObject]) != nil)
|
||||
{
|
||||
NSString *currOid = [NSString stringWithFormat: @"%d", oid++];
|
||||
|
||||
//
|
||||
// NOTE: Should change to this once the 17426 is resolved.
|
||||
// NSNumber *currOid = [NSNumber numberWithUnsignedInt: oid++];
|
||||
//
|
||||
|
||||
NSNumber *currOid = [NSNumber numberWithUnsignedInt: oid++];
|
||||
// NSString *currOid = [NSString stringWithFormat: @"%d", oid++];
|
||||
|
||||
if([o isMemberOfClass: [NSNibConnector class]])
|
||||
{
|
||||
id src = [o source];
|
||||
|
|
Loading…
Reference in a new issue