[vlc-devel] commit: macosx: the deprecated vlc_object_get takes 2 args now. (Pierre d' Herbemont )

git version control git at videolan.org
Sat Aug 30 19:17:00 CEST 2008


vlc | branch: master | Pierre d'Herbemont <pdherbemont at videolan.org> | Sat Aug 30 19:18:16 2008 +0200| [7bfc0c639afc5f3b241439fc99fc3c4dd7b0e448] | committer: Pierre d'Herbemont 

macosx: the deprecated vlc_object_get takes 2 args now.

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

 modules/gui/macosx/controls.m |    2 +-
 modules/gui/macosx/prefs.m    |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/gui/macosx/controls.m b/modules/gui/macosx/controls.m
index 826d89a..812abc6 100644
--- a/modules/gui/macosx/controls.m
+++ b/modules/gui/macosx/controls.m
@@ -766,7 +766,7 @@
 
     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 )
     {
diff --git a/modules/gui/macosx/prefs.m b/modules/gui/macosx/prefs.m
index 0e25e9a..a3d8b89 100644
--- a/modules/gui/macosx/prefs.m
+++ b/modules/gui/macosx/prefs.m
@@ -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 );




More information about the vlc-devel mailing list