summaryrefslogtreecommitdiff
path: root/src/examples/emotion/emotion_generic_example.c
diff options
context:
space:
mode:
authorStefan Schmidt <stefan@osg.samsung.com>2016-05-19 09:19:06 +0200
committerStefan Schmidt <stefan@osg.samsung.com>2016-05-19 09:19:06 +0200
commit2009ae225d919f14c1c2f78d3ea5184420894000 (patch)
tree39c80834eb35d97f751990090203687587cd34b9 /src/examples/emotion/emotion_generic_example.c
parente0bbc2aceddce568be3d702cd6d8d25ac04a16ea (diff)
examples: emotion: adapt to name change from obj to object
In commit 75a53ece1007d927b8f0b6c5d3f269726afb9108 obj was changed to object. As one can claerly see though make examples have not been run to verify this change. Catch up in examples with this rename.
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}