Commit a9f5ce8a authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Kill old and buggy libvlc_drawable_t

parent 1247e870
......@@ -30,13 +30,6 @@
* This file defines libvlc depreceated API
*/
/**
* This is the legacy representation of a platform-specific drawable. Because
* it cannot accomodate a pointer on most 64-bits platforms, it should not be
* used anymore.
*/
typedef int libvlc_drawable_t;
# ifdef __cplusplus
extern "C" {
# endif
......
......@@ -438,7 +438,7 @@ void VlcPlugin::set_player_window()
{
#ifdef XP_UNIX
libvlc_media_player_set_xwindow(libvlc_media_player,
(libvlc_drawable_t)getVideoWindow());
(uint32_t)getVideoWindow());
#endif
#ifdef XP_MACOSX
// XXX FIXME insert appropriate call here
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment