From f6b7273237ec9510f8c9e76fcb19b84cec70f5e1 Mon Sep 17 00:00:00 2001 From: Sebastian Dransfeld Date: Sun, 8 Nov 2009 20:27:12 +0000 Subject: [PATCH] Remove use of deprecated event XINE_EVENT_MRL_REFERENCE is deprecated, listen for XINE_EVENT_MRL_REFERENCE_EXT. SVN revision: 43540 --- legacy/emotion/src/lib/emotion_private.h | 2 +- legacy/emotion/src/lib/emotion_smart.c | 2 +- legacy/emotion/src/modules/xine/emotion_xine.c | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/legacy/emotion/src/lib/emotion_private.h b/legacy/emotion/src/lib/emotion_private.h index d24a0b73b2..3d352a4742 100644 --- a/legacy/emotion/src/lib/emotion_private.h +++ b/legacy/emotion/src/lib/emotion_private.h @@ -115,7 +115,7 @@ EAPI void _emotion_audio_level_change(Evas_Object *obj); EAPI void _emotion_channels_change(Evas_Object *obj); EAPI void _emotion_title_set(Evas_Object *obj, char *title); EAPI void _emotion_progress_set(Evas_Object *obj, char *info, double stat); -EAPI void _emotion_file_ref_set(Evas_Object *obj, char *file, int num); +EAPI void _emotion_file_ref_set(Evas_Object *obj, const char *file, int num); EAPI void _emotion_spu_button_num_set(Evas_Object *obj, int num); EAPI void _emotion_spu_button_set(Evas_Object *obj, int button); diff --git a/legacy/emotion/src/lib/emotion_smart.c b/legacy/emotion/src/lib/emotion_smart.c index 9266b8dbab..71a60f3732 100644 --- a/legacy/emotion/src/lib/emotion_smart.c +++ b/legacy/emotion/src/lib/emotion_smart.c @@ -976,7 +976,7 @@ _emotion_progress_set(Evas_Object *obj, char *info, double stat) } EAPI void -_emotion_file_ref_set(Evas_Object *obj, char *file, int num) +_emotion_file_ref_set(Evas_Object *obj, const char *file, int num) { Smart_Data *sd; diff --git a/legacy/emotion/src/modules/xine/emotion_xine.c b/legacy/emotion/src/modules/xine/emotion_xine.c index 13e1614a79..704e60f0b5 100644 --- a/legacy/emotion/src/modules/xine/emotion_xine.c +++ b/legacy/emotion/src/modules/xine/emotion_xine.c @@ -1359,11 +1359,11 @@ _em_fd_ev_active(void *data, Ecore_Fd_Handler *fdh) _emotion_progress_set(ev->obj, (char *)e->description, (double)e->percent / 100.0); } break; - case XINE_EVENT_MRL_REFERENCE: + case XINE_EVENT_MRL_REFERENCE_EXT: { - xine_mrl_reference_data_t *e; + xine_mrl_reference_data_ext_t *e; - e = (xine_mrl_reference_data_t *)eev->xine_event; + e = (xine_mrl_reference_data_ext_t *)eev->xine_event; _emotion_file_ref_set(ev->obj, e->mrl, e->alternative); } break;