]> git.sesse.net Git - vlc/commitdiff
macosx: No need to use VLC_OBJECT() here.
authorPierre d'Herbemont <pdherbemont@videolan.org>
Sat, 5 Jul 2008 14:13:33 +0000 (16:13 +0200)
committerPierre d'Herbemont <pdherbemont@videolan.org>
Sat, 5 Jul 2008 15:33:46 +0000 (17:33 +0200)
modules/gui/macosx/simple_prefs.m

index 89cbd6da3daba60e263199568a911f30851f636e..2a952b5ec5dd05ccdf19f44f78e83053ae56aa19 100644 (file)
@@ -737,9 +737,9 @@ static VLCSimplePrefs *_o_sharedInstance = nil;
         {   
             [o_audio_last_ckb setEnabled: YES];
             if( [o_audio_last_ckb state] == NSOnState )
-                config_AddIntf( VLC_OBJECT( p_intf ), "audioscrobbler" );
+                config_AddIntf( p_intf, "audioscrobbler" );
             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-password", [[o_audio_lastpwd_sfld stringValue] UTF8String] );