]> git.sesse.net Git - vlc/commitdiff
macosx: the deprecated vlc_object_get takes 2 args now.
authorPierre d'Herbemont <pdherbemont@videolan.org>
Sat, 30 Aug 2008 17:18:16 +0000 (19:18 +0200)
committerPierre d'Herbemont <pdherbemont@videolan.org>
Sat, 30 Aug 2008 17:20:11 +0000 (19:20 +0200)
modules/gui/macosx/controls.m
modules/gui/macosx/prefs.m

index 826d89a852a5dad3329a409d7f7a79e0a7123a22..812abc69055f22d744bafe6e5cf6b9d76022516e 100644 (file)
 
     vlc_thread_set_priority( VLCIntf , VLC_THREAD_PRIORITY_LOW );
 
-    p_object = (vlc_object_t *)vlc_object_get( [o_data objectID] );
+    p_object = (vlc_object_t *)vlc_object_get( VLCIntf->p_libvlc, [o_data objectID] );
 
     if( p_object != NULL )
     {
index 0e25e9af6770c8e113c3b8c067bc8d570b79a3c5..a3d8b89d4bfdfccb7bc402b620654b3e0c1eb423 100644 (file)
@@ -531,7 +531,7 @@ static VLCTreeItem *o_root_item = nil;
         /* Get a pointer to the module */
         if( i_object_category == -1 )
         {
-            p_module = (module_t *) vlc_object_get( i_object_id );
+            p_module = (module_t *) vlc_object_get( p_intf->p_libvlc, i_object_id );
             assert( p_module );
 
             p_items = module_GetConfig( p_module, &confsize );