summaryrefslogtreecommitdiff
path: root/src/examples/emotion/emotion_generic_example.c
diff options
context:
space:
mode:
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 c585b20..ec15a61 100644
--- a/src/examples/emotion/emotion_generic_example.c
+++ b/src/examples/emotion/emotion_generic_example.c
@@ -30,8 +30,8 @@ static Eina_Bool
30_playback_stopped_cb(void *data EINA_UNUSED, const Eo_Event *ev) 30_playback_stopped_cb(void *data EINA_UNUSED, const Eo_Event *ev)
31{ 31{
32 printf("Emotion playback stopped.\n"); 32 printf("Emotion playback stopped.\n");
33 emotion_object_play_set(ev->obj, EINA_FALSE); 33 emotion_object_play_set(ev->object, EINA_FALSE);
34 emotion_object_position_set(ev->obj, 0); 34 emotion_object_position_set(ev->object, 0);
35 35
36 return EINA_TRUE; 36 return EINA_TRUE;
37} 37}
@@ -141,7 +141,7 @@ _frame_decode_cb(void *data EINA_UNUSED, const Eo_Event *ev EINA_UNUSED)
141static Eina_Bool 141static Eina_Bool
142_length_change_cb(void *data EINA_UNUSED, const Eo_Event *ev) 142_length_change_cb(void *data EINA_UNUSED, const Eo_Event *ev)
143{ 143{
144 fprintf(stderr, "smartcb: length_change: %0.3f\n", emotion_object_play_length_get(ev->obj)); 144 fprintf(stderr, "smartcb: length_change: %0.3f\n", emotion_object_play_length_get(ev->object));
145 145
146 return EINA_TRUE; 146 return EINA_TRUE;
147} 147}
@@ -149,7 +149,7 @@ _length_change_cb(void *data EINA_UNUSED, const Eo_Event *ev)
149static Eina_Bool 149static Eina_Bool
150_position_update_cb(void *data EINA_UNUSED, const Eo_Event *ev) 150_position_update_cb(void *data EINA_UNUSED, const Eo_Event *ev)
151{ 151{
152 fprintf(stderr, "smartcb: position_update: %0.3f\n", emotion_object_position_get(ev->obj)); 152 fprintf(stderr, "smartcb: position_update: %0.3f\n", emotion_object_position_get(ev->object));
153 153
154 return EINA_TRUE; 154 return EINA_TRUE;
155} 155}
@@ -158,8 +158,8 @@ static Eina_Bool
158_progress_change_cb(void *data EINA_UNUSED, const Eo_Event *ev) 158_progress_change_cb(void *data EINA_UNUSED, const Eo_Event *ev)
159{ 159{
160 fprintf(stderr, "smartcb: progress_change: %0.3f, %s\n", 160 fprintf(stderr, "smartcb: progress_change: %0.3f, %s\n",
161 emotion_object_progress_status_get(ev->obj), 161 emotion_object_progress_status_get(ev->object),
162 emotion_object_progress_info_get(ev->obj)); 162 emotion_object_progress_info_get(ev->object));
163 163
164 return EINA_TRUE; 164 return EINA_TRUE;
165} 165}