summaryrefslogtreecommitdiff
path: root/src/examples/emotion/emotion_generic_example.c
diff options
context:
space:
mode:
authorStefan Schmidt <stefan@osg.samsung.com>2016-09-22 11:43:34 +0200
committerStefan Schmidt <stefan@osg.samsung.com>2016-09-22 11:43:34 +0200
commit9e5941ed387a56966938799abb118d1a6aafdf5c (patch)
tree78a4e9fc8d56253843faba699fe19fa9cd638661 /src/examples/emotion/emotion_generic_example.c
parent97a2d7ff33d9e8493427bf4eb4fdea4163808bf2 (diff)
examples: emotion: fix event naming after convert to EFL Canvas Object
In commit 7b90e1147442d6a8023422400bffd77e2815fe0b the event names changed but examples have not been updated.
Diffstat (limited to 'src/examples/emotion/emotion_generic_example.c')
-rw-r--r--src/examples/emotion/emotion_generic_example.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/examples/emotion/emotion_generic_example.c b/src/examples/emotion/emotion_generic_example.c
index ec52c65..f766e44 100644
--- a/src/examples/emotion/emotion_generic_example.c
+++ b/src/examples/emotion/emotion_generic_example.c
@@ -40,9 +40,9 @@ _create_emotion_object(Evas *e)
40 emotion_object_init(em, "generic"); 40 emotion_object_init(em, "generic");
41 41
42 efl_event_callback_add 42 efl_event_callback_add
43 (em, EMOTION_OBJECT_EVENT_PLAYBACK_STARTED, _playback_started_cb, NULL); 43 (em, EFL_CANVAS_VIDEO_EVENT_PLAYBACK_START, _playback_started_cb, NULL);
44 efl_event_callback_add 44 efl_event_callback_add
45 (em, EMOTION_OBJECT_EVENT_PLAYBACK_FINISHED, _playback_stopped_cb, NULL); 45 (em, EFL_CANVAS_VIDEO_EVENT_PLAYBACK_STOP, _playback_stopped_cb, NULL);
46 46
47 return em; 47 return em;
48} 48}
@@ -153,10 +153,10 @@ _progress_change_cb(void *data EINA_UNUSED, const Efl_Event *ev)
153} 153}
154 154
155EFL_CALLBACKS_ARRAY_DEFINE(emotion_object_example_callbacks, 155EFL_CALLBACKS_ARRAY_DEFINE(emotion_object_example_callbacks,
156 { EMOTION_OBJECT_EVENT_FRAME_DECODE, _frame_decode_cb }, 156 { EFL_CANVAS_VIDEO_EVENT_FRAME_DECODE, _frame_decode_cb },
157 { EMOTION_OBJECT_EVENT_LENGTH_CHANGE, _length_change_cb }, 157 { EFL_CANVAS_VIDEO_EVENT_LENGTH_CHANGE, _length_change_cb },
158 { EMOTION_OBJECT_EVENT_POSITION_UPDATE, _position_update_cb }, 158 { EFL_CANVAS_VIDEO_EVENT_POSITION_CHANGE, _position_update_cb },
159 { EMOTION_OBJECT_EVENT_PROGRESS_CHANGE, _progress_change_cb }); 159 { EFL_CANVAS_VIDEO_EVENT_PROGRESS_CHANGE, _progress_change_cb });
160 160
161int 161int
162main(int argc, const char *argv[]) 162main(int argc, const char *argv[])