diff options
author | Sebastian Dransfeld <sd@tango.flipp.net> | 2009-11-08 20:27:12 +0000 |
---|---|---|
committer | Sebastian Dransfeld <sd@tango.flipp.net> | 2009-11-08 20:27:12 +0000 |
commit | f6b7273237ec9510f8c9e76fcb19b84cec70f5e1 (patch) | |
tree | e9b1a355e52aef6cab33aeeee50a466da37e5c01 /legacy/emotion/src | |
parent | d650d089c43fb2a1b65d66060443e93f1b49c33f (diff) |
Remove use of deprecated event
XINE_EVENT_MRL_REFERENCE is deprecated, listen for
XINE_EVENT_MRL_REFERENCE_EXT.
SVN revision: 43540
Diffstat (limited to '')
-rw-r--r-- | legacy/emotion/src/lib/emotion_private.h | 2 | ||||
-rw-r--r-- | legacy/emotion/src/lib/emotion_smart.c | 2 | ||||
-rw-r--r-- | 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); | |||
115 | EAPI void _emotion_channels_change(Evas_Object *obj); | 115 | EAPI void _emotion_channels_change(Evas_Object *obj); |
116 | EAPI void _emotion_title_set(Evas_Object *obj, char *title); | 116 | EAPI void _emotion_title_set(Evas_Object *obj, char *title); |
117 | EAPI void _emotion_progress_set(Evas_Object *obj, char *info, double stat); | 117 | EAPI void _emotion_progress_set(Evas_Object *obj, char *info, double stat); |
118 | EAPI void _emotion_file_ref_set(Evas_Object *obj, char *file, int num); | 118 | EAPI void _emotion_file_ref_set(Evas_Object *obj, const char *file, int num); |
119 | EAPI void _emotion_spu_button_num_set(Evas_Object *obj, int num); | 119 | EAPI void _emotion_spu_button_num_set(Evas_Object *obj, int num); |
120 | EAPI void _emotion_spu_button_set(Evas_Object *obj, int button); | 120 | EAPI void _emotion_spu_button_set(Evas_Object *obj, int button); |
121 | 121 | ||
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) | |||
976 | } | 976 | } |
977 | 977 | ||
978 | EAPI void | 978 | EAPI void |
979 | _emotion_file_ref_set(Evas_Object *obj, char *file, int num) | 979 | _emotion_file_ref_set(Evas_Object *obj, const char *file, int num) |
980 | { | 980 | { |
981 | Smart_Data *sd; | 981 | Smart_Data *sd; |
982 | 982 | ||
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) | |||
1359 | _emotion_progress_set(ev->obj, (char *)e->description, (double)e->percent / 100.0); | 1359 | _emotion_progress_set(ev->obj, (char *)e->description, (double)e->percent / 100.0); |
1360 | } | 1360 | } |
1361 | break; | 1361 | break; |
1362 | case XINE_EVENT_MRL_REFERENCE: | 1362 | case XINE_EVENT_MRL_REFERENCE_EXT: |
1363 | { | 1363 | { |
1364 | xine_mrl_reference_data_t *e; | 1364 | xine_mrl_reference_data_ext_t *e; |
1365 | 1365 | ||
1366 | e = (xine_mrl_reference_data_t *)eev->xine_event; | 1366 | e = (xine_mrl_reference_data_ext_t *)eev->xine_event; |
1367 | _emotion_file_ref_set(ev->obj, e->mrl, e->alternative); | 1367 | _emotion_file_ref_set(ev->obj, e->mrl, e->alternative); |
1368 | } | 1368 | } |
1369 | break; | 1369 | break; |