Fix deprecation build warnings. The "preferred" function has

been available since at least xine 1.1.1 from 2005-11-15.
(cherry picked from commit 5f33750491)
v3.5.13-sru
Darrell Anderson 12 years ago committed by Slávek Banko
parent a65e231471
commit cedbe3eaaa

@ -192,8 +192,8 @@ static void event_listener(void * /*user_data*/, const xine_event_t *event) {
break;
case XINE_EVENT_MRL_REFERENCE:
fprintf(stderr, "XINE_EVENT_MRL_REFERENCE %s\n",
((xine_mrl_reference_data_t*)event->data)->mrl);
TQApplication::postEvent (xineapp, new XineURLEvent (TQString::fromLocal8Bit (((xine_mrl_reference_data_t*)event->data)->mrl)));
((xine_mrl_reference_data_ext_t*)event->data)->mrl);
TQApplication::postEvent (xineapp, new XineURLEvent (TQString::fromLocal8Bit (((xine_mrl_reference_data_ext_t*)event->data)->mrl)));
break;
case XINE_EVENT_FRAME_FORMAT_CHANGE:
fprintf (stderr, "XINE_EVENT_FRAME_FORMAT_CHANGE\n");

Loading…
Cancel
Save