[vlc-devel] commit: WinCE: make buildbot happy for now. (Geoffroy Couprie )

git version control git at videolan.org
Tue Feb 24 22:37:47 CET 2009


vlc | branch: master | Geoffroy Couprie <geo.couprie at gmail.com> | Tue Feb 24 22:33:07 2009 +0100| [fd6d55865e330899af00e6349942ecccf738fe17] | committer: Geoffroy Couprie 

WinCE: make buildbot happy for now.

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

 modules/gui/wince/menus.cpp |   17 ++++++-----------
 1 files changed, 6 insertions(+), 11 deletions(-)

diff --git a/modules/gui/wince/menus.cpp b/modules/gui/wince/menus.cpp
index d801de5..3cebdc7 100644
--- a/modules/gui/wince/menus.cpp
+++ b/modules/gui/wince/menus.cpp
@@ -186,14 +186,6 @@ void PopupMenu( intf_thread_t *p_intf, HWND p_parent, POINT point )
     if( i != i_last_separator ) ppsz_varnames[i++] = NULL; /* Separator */
     i_last_separator = i;
 
-    /* vlc_object_find is needed because of the dialogs provider case */
-    p_object = (vlc_object_t *)vlc_object_find( p_intf, VLC_OBJECT_INTF,
-                                                FIND_PARENT );
-    if( p_object != NULL )
-    {
-        /* Nothing for now */
-        vlc_object_release( p_object );
-    }
 
     /* Build menu */
     vector<MenuItemExt*> popup_menu;
@@ -438,14 +430,17 @@ void RefreshSettingsMenu( intf_thread_t *p_intf, HMENU hMenu )
 
     AppendMenu( hMenu, MF_STRING, ID_PREFERENCES, _T("&Preferences...") );
 
-    p_object = (vlc_object_t *)
-        vlc_object_find( p_intf, VLC_OBJECT_INTF, FIND_PARENT );
+	/* Other interfaces */
+    /*FIXME: copy the Qt way of mapping menus and objects */
+    /*p_object = (vlc_object_t *) NULL;
+        //vlc_object_find_name( p_intf, "wince", FIND_PARENT );
     if( p_object != NULL )
     {
         ppsz_varnames[i] = "intf-add";
         pi_objects[i++] = p_object;
         vlc_object_release( p_object );
-    }
+    }*/
+
 
     /* Build menu */
     RefreshMenu( p_intf, p_intf->p_sys->p_settings_menu, hMenu, i,




More information about the vlc-devel mailing list