mirror of
https://github.com/gnustep/apps-gorm.git
synced 2025-04-22 22:20:44 +00:00
Minor updates to GormNSSplitViewInspector code
This commit is contained in:
parent
09c3b5e556
commit
a184d826fb
1 changed files with 10 additions and 7 deletions
|
@ -25,15 +25,18 @@
|
|||
{
|
||||
if ([NSBundle loadNibNamed: @"GormNSSplitViewInspector"
|
||||
owner: self] == NO)
|
||||
{
|
||||
|
||||
NSDictionary *table;
|
||||
NSBundle *bundle;
|
||||
{
|
||||
NSDictionary *table = nil;
|
||||
NSBundle *bundle = nil;
|
||||
BOOL loaded = NO;
|
||||
|
||||
table = [NSDictionary dictionaryWithObject: self forKey: @"NSOwner"];
|
||||
bundle = [NSBundle mainBundle];
|
||||
if ([bundle loadNibFile: @"GormNSSplitViewInspector"
|
||||
externalNameTable: table
|
||||
withZone: [self zone]] == NO)
|
||||
loaded = [bundle loadNibFile: @"GormNSSplitViewInspector"
|
||||
externalNameTable: table
|
||||
withZone: [self zone]];
|
||||
|
||||
if (!loaded)
|
||||
{
|
||||
NSLog(@"Could not open gorm GormNSSplitViewInspector");
|
||||
NSLog(@"self %@", self);
|
||||
|
|
Loading…
Reference in a new issue