Fix deprecation build warnings. The "preferred" function has

been available since at least xine 1.1.1 from 2005-11-15.
pull/1/head
Darrell Anderson 12 years ago
parent e9c83ca160
commit 5f33750491

@ -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