Remove "_" from _isTopLevelObject:.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@23105 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Gregory John Casamento 2006-06-25 00:50:34 +00:00
parent 7dcc22a791
commit fd10b886b4
2 changed files with 8 additions and 2 deletions

View file

@ -1,3 +1,8 @@
2006-06-24 20:49 Gregory John Casamento <greg_casamento@yahoo.com>
* GormCore/GormNibWrapperLoader.m: Make _isTopLevelObject: into
a normal method, not private.
2006-06-24 20:41 Gregory John Casamento <greg_casamento@yahoo.com> 2006-06-24 20:41 Gregory John Casamento <greg_casamento@yahoo.com>
* GormCore/GormNibWrapperLoader.m: Change * GormCore/GormNibWrapperLoader.m: Change

View file

@ -64,6 +64,7 @@
NSIBObjectData *container; NSIBObjectData *container;
id nibFilesOwner; id nibFilesOwner;
} }
- (BOOL) isTopLevelObject: (id)obj;
@end @end
@implementation GormNibWrapperLoader @implementation GormNibWrapperLoader
@ -72,7 +73,7 @@
return @"GSNibFileType"; return @"GSNibFileType";
} }
- (BOOL) _isTopLevelObject: (id)obj - (BOOL) isTopLevelObject: (id)obj
{ {
NSMapTable *objects = [container objects]; NSMapTable *objects = [container objects];
id val = NSMapGet(objects,obj); id val = NSMapGet(objects,obj);
@ -237,7 +238,7 @@
} }
} }
if([self _isTopLevelObject: obj]) if([self isTopLevelObject: obj])
{ {
[document attachObject: obj toParent: nil]; [document attachObject: obj toParent: nil];
} }