[vlc-devel] commit: macosx: No need to use VLC_OBJECT() here. (Pierre d'Herbemont )

git version control git at videolan.org
Sat Jul 5 17:31:37 CEST 2008


vlc | branch: master | Pierre d'Herbemont <pdherbemont at videolan.org> | Sat Jul  5 16:13:33 2008 +0200| [1ce5ed60205d0ea92ea6f0602576c8a5a900c812]

macosx: No need to use VLC_OBJECT() here.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=1ce5ed60205d0ea92ea6f0602576c8a5a900c812
---

 modules/gui/macosx/simple_prefs.m |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/gui/macosx/simple_prefs.m b/modules/gui/macosx/simple_prefs.m
index 89cbd6d..2a952b5 100644
--- a/modules/gui/macosx/simple_prefs.m
+++ b/modules/gui/macosx/simple_prefs.m
@@ -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] );




More information about the vlc-devel mailing list