summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDarrell Anderson <humanreadable@yahoo.com>2012-11-03 16:47:41 -0500
committerDarrell Anderson <humanreadable@yahoo.com>2012-11-03 16:47:41 -0500
commit0db013d72c080c8ed5f5c28a6de69ca4b8a8c4af (patch)
tree63edc0ce09d81103aa6ac55573ab9c68edfaf490
parent6ca7c7491531670b7af72151cbbc33e39922945b (diff)
downloadtdemultimedia-0db013d72c080c8ed5f5c28a6de69ca4b8a8c4af.tar.gz
tdemultimedia-0db013d72c080c8ed5f5c28a6de69ca4b8a8c4af.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.
-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 );
}