Fix deprecation build warnings by removing xine version

preprocessor checks. The "old" functions have been deprecated
since at least xine 1.0 from 2004.
pull/1/head
Darrell Anderson 12 years ago
parent 6ca7c74915
commit 0db013d72c

@ -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 );
}

Loading…
Cancel
Save