Commit 49de1e5f authored by Felix Paul Kühne's avatar Felix Paul Kühne
Browse files

* declared the shared instance properly (forgot that yesterday)

parent 92cf2514
...@@ -60,6 +60,8 @@ ...@@ -60,6 +60,8 @@
IBOutlet id o_advanced_ckb; IBOutlet id o_advanced_ckb;
} }
+ (VLCPrefs *)sharedInstance;
- (void)initStrings; - (void)initStrings;
- (void)showPrefs; - (void)showPrefs;
- (IBAction)savePrefs: (id)sender; - (IBAction)savePrefs: (id)sender;
......
...@@ -61,11 +61,11 @@ static VLCPrefs *_o_sharedMainInstance = nil; ...@@ -61,11 +61,11 @@ static VLCPrefs *_o_sharedMainInstance = nil;
/* load our nib */ /* load our nib */
[NSBundle loadNibNamed:@"Preferences" owner:self]; [NSBundle loadNibNamed:@"Preferences" owner:self];
/* from "init" > r8571 */ /* from "init" =< r8571 */
o_empty_view = [[NSView alloc] init]; o_empty_view = [[NSView alloc] init];
o_save_prefs = [[NSMutableDictionary alloc] init]; o_save_prefs = [[NSMutableDictionary alloc] init];
/* from "awakeFromNib" > r8571 */ /* from "awakeFromNib" =< r8571 */
p_intf = VLCIntf; p_intf = VLCIntf;
b_advanced = config_GetInt( p_intf, "advanced" ); b_advanced = config_GetInt( p_intf, "advanced" );
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment