]> git.sesse.net Git - vlc/commitdiff
WinCE: make buildbot happy for now.
authorGeoffroy Couprie <geo.couprie@gmail.com>
Tue, 24 Feb 2009 21:33:07 +0000 (22:33 +0100)
committerGeoffroy Couprie <geo.couprie@gmail.com>
Tue, 24 Feb 2009 21:36:13 +0000 (22:36 +0100)
modules/gui/wince/menus.cpp

index d801de5287e1b2e1fbfe8ff8a049fe96da19d660..3cebdc7cb5b46f26aa7154c53e150ac4cc696066 100644 (file)
@@ -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,