[vlc-devel] commit: Kill old and buggy libvlc_drawable_t ( Rémi Denis-Courmont )

git version control git at videolan.org
Sat Feb 20 12:46:57 CET 2010


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat Feb 20 13:29:29 2010 +0200| [a9f5ce8a84314137fccbc66c6ab0089b73b5b1f0] | committer: Rémi Denis-Courmont 

Kill old and buggy libvlc_drawable_t

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

 include/vlc/deprecated.h       |    7 -------
 projects/mozilla/vlcplugin.cpp |    2 +-
 2 files changed, 1 insertions(+), 8 deletions(-)

diff --git a/include/vlc/deprecated.h b/include/vlc/deprecated.h
index c22d2dc..16406f3 100644
--- a/include/vlc/deprecated.h
+++ b/include/vlc/deprecated.h
@@ -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
diff --git a/projects/mozilla/vlcplugin.cpp b/projects/mozilla/vlcplugin.cpp
index 76316d1..3356161 100644
--- a/projects/mozilla/vlcplugin.cpp
+++ b/projects/mozilla/vlcplugin.cpp
@@ -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




More information about the vlc-devel mailing list