Commit 1ce5ed60 authored by Pierre d'Herbemont's avatar Pierre d'Herbemont

macosx: No need to use VLC_OBJECT() here.

parent 89e10b6c
...@@ -737,9 +737,9 @@ static VLCSimplePrefs *_o_sharedInstance = nil; ...@@ -737,9 +737,9 @@ static VLCSimplePrefs *_o_sharedInstance = nil;
{ {
[o_audio_last_ckb setEnabled: YES]; [o_audio_last_ckb setEnabled: YES];
if( [o_audio_last_ckb state] == NSOnState ) if( [o_audio_last_ckb state] == NSOnState )
config_AddIntf( VLC_OBJECT( p_intf ), "audioscrobbler" ); config_AddIntf( p_intf, "audioscrobbler" );
else else
config_RemoveIntf( VLC_OBJECT( p_intf ), "audioscrobbler" ); config_RemoveIntf( p_intf, "audioscrobbler" );
config_PutPsz( p_intf, "lastfm-username", [[o_audio_lastuser_fld stringValue] UTF8String] ); config_PutPsz( p_intf, "lastfm-username", [[o_audio_lastuser_fld stringValue] UTF8String] );
config_PutPsz( p_intf, "lastfm-password", [[o_audio_lastpwd_sfld stringValue] UTF8String] ); config_PutPsz( p_intf, "lastfm-password", [[o_audio_lastpwd_sfld stringValue] UTF8String] );
......
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