summaryrefslogtreecommitdiffstats
path: root/xine_artsplugin
diff options
context:
space:
mode:
authorDarrell Anderson <humanreadable@yahoo.com>2012-11-03 16:47:41 -0500
committerSlávek Banko <slavek.banko@axis.cz>2012-11-10 20:42:14 +0100
commitde48abdfe409cacaf76619c0e5e58816a5758143 (patch)
tree83b6a6597a0fdbc9e672a734080eed0799c52602 /xine_artsplugin
parent89b3882a9bbc55b307ac86a8855ad500083a0ead (diff)
downloadtdemultimedia-de48abdfe409cacaf76619c0e5e58816a5758143.tar.gz
tdemultimedia-de48abdfe409cacaf76619c0e5e58816a5758143.zip
Fix deprecation build warnings by removing xine version
preprocessor checks. The "old" functions have been deprecated since at least xine 1.0 from 2004. (cherry picked from commit 0db013d72c080c8ed5f5c28a6de69ca4b8a8c4af)
Diffstat (limited to 'xine_artsplugin')
-rw-r--r--xine_artsplugin/xinePlayObject_impl.cpp12
1 files changed, 0 insertions, 12 deletions
diff --git a/xine_artsplugin/xinePlayObject_impl.cpp b/xine_artsplugin/xinePlayObject_impl.cpp
index a7f6defd..d4681d59 100644
--- a/xine_artsplugin/xinePlayObject_impl.cpp
+++ b/xine_artsplugin/xinePlayObject_impl.cpp
@@ -698,11 +698,7 @@ void xinePlayObject_impl::eventLoop()
if (stream != 0)
{
-#if XINE_MAJOR_VERSION > 1 || ( XINE_MAJOR_VERSION == 1 && XINE_MINOR_VERSION >= 2 )
xine_port_send_gui_data( vo_port,
-#else
- xine_gui_send_vo_data( stream,
-#endif
XINE_GUI_SEND_EXPOSE_EVENT,
&event );
}
@@ -718,11 +714,7 @@ void xinePlayObject_impl::eventLoop()
if (stream != 0)
{
-#if XINE_MAJOR_VERSION > 1 || ( XINE_MAJOR_VERSION == 1 && XINE_MINOR_VERSION >= 2 )
xine_port_send_gui_data( vo_port,
-#else
- xine_gui_send_vo_data( stream,
-#endif
XINE_GUI_SEND_COMPLETION_EVENT,
&event );
}
@@ -756,11 +748,7 @@ void xineVideoPlayObject_impl::x11WindowId( long window )
{
resizeNotify();
-#if XINE_MAJOR_VERSION > 1 || ( XINE_MAJOR_VERSION == 1 && XINE_MINOR_VERSION >= 2 )
xine_port_send_gui_data( vo_port,
-#else
- xine_gui_send_vo_data( stream,
-#endif
XINE_GUI_SEND_DRAWABLE_CHANGED,
(void *)window );
}