Permalink
Browse files

Merge pull request #16 from canassa/fix-loadnibnamed-deprecated

Replaced deprecated loadNibNamed
  • Loading branch information...
2 parents b7702a0 + d3ec83f commit 907dccbc61f395eee1c7dfb59815c0f7b920a8a9 @bradallred bradallred committed Feb 9, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 apple/CocoaWrapper/mac/CocoaWrapper.mm
@@ -123,7 +123,7 @@ - (void) applicationDidFinishLaunching: (NSNotification *) __unused aNotificatio
// we configure this here so that when GemRB is launched though means such as Drag/Drop we dont show the config window
_showConfigWindow = YES; //still need to set this to YES in case an error occurs
- [NSBundle loadNibNamed:@"GemRB" owner:self];
+ [[NSBundle mainBundle] loadNibNamed:@"GemRB" owner:self topLevelObjects:nil];
if (core == NULL) {
[_configWindow makeKeyAndOrderFront:nil];

0 comments on commit 907dccb

Please sign in to comment.