Skip to content

Commit

Permalink
CPCib -instantiateCibWithOwner:(id)anOwner topLevelObjects:(CPArray)t…
Browse files Browse the repository at this point in the history
…opLevelObjects : allow anOwner to be nil
  • Loading branch information
cacaodev committed Jul 22, 2012
1 parent 8d1a5ac commit 02a89e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion AppKit/Cib/CPCib.j
Expand Up @@ -162,7 +162,7 @@ var CPCibObjectDataKey = @"CPCibObjectDataKey";

- (BOOL)instantiateCibWithOwner:(id)anOwner topLevelObjects:(CPArray)topLevelObjects
{
return [self instantiateCibWithExternalNameTable:[CPDictionary dictionaryWithObjectsAndKeys:anOwner, CPCibOwner, topLevelObjects, CPCibTopLevelObjects]];
return [self instantiateCibWithExternalNameTable:[CPDictionary dictionaryWithObjects:[anOwner, topLevelObjects] forKeys:[CPCibOwner, CPCibTopLevelObjects]]];
}

@end
Expand Down

0 comments on commit 02a89e2

Please sign in to comment.