#include <hildon/hildon-banner.h>
#include <gtk/gtk.h>
#include <stdio.h>
+#include <inttypes.h>
#include "maemo.h"
#include "maemo_callbacks.h"
add_shortcut( "maemo" );
add_submodule();
- set_capability( "vout_window", 50 );
+ set_capability( "xwindow", 50 );
set_callbacks( OpenWindow, CloseWindow );
vlc_module_end();
msg_Err( obj, "Maemo interface not found" );
return VLC_EGENERIC; /* Maemo not in use */
}
- assert (intf->i_object_type == VLC_OBJECT_INTF);
- wnd->handle = request_video( intf, wnd->vout );
- msg_Dbg( intf, "Using handle %p", wnd->handle );
+ wnd->handle.xid = request_video( intf, wnd->vout );
+ msg_Dbg( intf, "Using handle %"PRIu32, wnd->handle.xid );
wnd->control = ControlWindow;
wnd->p_private = intf;