From 0db013d72c080c8ed5f5c28a6de69ca4b8a8c4af Mon Sep 17 00:00:00 2001 From: Darrell Anderson Date: Sat, 3 Nov 2012 16:47:41 -0500 Subject: Fix deprecation build warnings by removing xine version preprocessor checks. The "old" functions have been deprecated since at least xine 1.0 from 2004. --- xine_artsplugin/xinePlayObject_impl.cpp | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'xine_artsplugin') 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 ); } -- cgit v1.2.1