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