]> git.sesse.net Git - vlc/commitdiff
Kill old and buggy libvlc_drawable_t
authorRémi Denis-Courmont <remi@remlab.net>
Sat, 20 Feb 2010 11:29:29 +0000 (13:29 +0200)
committerRémi Denis-Courmont <remi@remlab.net>
Sat, 20 Feb 2010 11:46:50 +0000 (13:46 +0200)
include/vlc/deprecated.h
projects/mozilla/vlcplugin.cpp

index c22d2dc8c336abb1c0286a8e51eb95826ec6f427..16406f34519b127243ec69751c938ec8ad692eef 100644 (file)
  * 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
index 76316d14ea0aee63bcc8230a144cb7a3ed96a81a..335616187847504c5a2734565bb8c9ce2323e354 100644 (file)
@@ -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