diff options
author | Stefan Schmidt <stefan@osg.samsung.com> | 2016-05-19 09:19:06 +0200 |
---|---|---|
committer | Stefan Schmidt <stefan@osg.samsung.com> | 2016-05-19 09:19:06 +0200 |
commit | 2009ae225d919f14c1c2f78d3ea5184420894000 (patch) | |
tree | 39c80834eb35d97f751990090203687587cd34b9 | |
parent | e0bbc2aceddce568be3d702cd6d8d25ac04a16ea (diff) | |
download | efl-2009ae225d919f14c1c2f78d3ea5184420894000.tar.gz |
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.
-rw-r--r-- | src/examples/emotion/emotion_border_example.c | 10 | ||||
-rw-r--r-- | src/examples/emotion/emotion_generic_example.c | 12 | ||||
-rw-r--r-- | src/examples/emotion/emotion_signals_example.c | 18 |
3 files changed, 20 insertions, 20 deletions
diff --git a/src/examples/emotion/emotion_border_example.c b/src/examples/emotion/emotion_border_example.c index b345597bdd..aac68fdf81 100644 --- a/src/examples/emotion/emotion_border_example.c +++ b/src/examples/emotion/emotion_border_example.c @@ -118,7 +118,7 @@ _frame_decode_cb(void *data EINA_UNUSED, const Eo_Event *ev EINA_UNUSED) static Eina_Bool _length_change_cb(void *data EINA_UNUSED, const Eo_Event *ev) { - fprintf(stderr, "smartcb: length_change: %0.3f\n", emotion_object_play_length_get(ev->obj)); + fprintf(stderr, "smartcb: length_change: %0.3f\n", emotion_object_play_length_get(ev->object)); return EINA_TRUE; } @@ -126,7 +126,7 @@ _length_change_cb(void *data EINA_UNUSED, const Eo_Event *ev) static Eina_Bool _position_update_cb(void *data EINA_UNUSED, const Eo_Event *ev) { - fprintf(stderr, "smartcb: position_update: %0.3f\n", emotion_object_position_get(ev->obj)); + fprintf(stderr, "smartcb: position_update: %0.3f\n", emotion_object_position_get(ev->object)); return EINA_TRUE; } @@ -135,8 +135,8 @@ static Eina_Bool _progress_change_cb(void *data EINA_UNUSED, const Eo_Event *ev) { fprintf(stderr, "smartcb: progress_change: %0.3f, %s\n", - emotion_object_progress_status_get(ev->obj), - emotion_object_progress_info_get(ev->obj)); + emotion_object_progress_status_get(ev->object), + emotion_object_progress_info_get(ev->object)); return EINA_TRUE; } @@ -145,7 +145,7 @@ static Eina_Bool _frame_resize_cb(void *data EINA_UNUSED, const Eo_Event *ev) { int w, h; - emotion_object_size_get(ev->obj, &w, &h); + emotion_object_size_get(ev->object, &w, &h); fprintf(stderr, "smartcb: frame_resize: %dx%d\n", w, h); return EINA_TRUE; diff --git a/src/examples/emotion/emotion_generic_example.c b/src/examples/emotion/emotion_generic_example.c index c585b208ee..ec15a61836 100644 --- a/src/examples/emotion/emotion_generic_example.c +++ b/src/examples/emotion/emotion_generic_example.c @@ -30,8 +30,8 @@ static Eina_Bool _playback_stopped_cb(void *data EINA_UNUSED, const Eo_Event *ev) { printf("Emotion playback stopped.\n"); - emotion_object_play_set(ev->obj, EINA_FALSE); - emotion_object_position_set(ev->obj, 0); + emotion_object_play_set(ev->object, EINA_FALSE); + emotion_object_position_set(ev->object, 0); return EINA_TRUE; } @@ -141,7 +141,7 @@ _frame_decode_cb(void *data EINA_UNUSED, const Eo_Event *ev EINA_UNUSED) static Eina_Bool _length_change_cb(void *data EINA_UNUSED, const Eo_Event *ev) { - fprintf(stderr, "smartcb: length_change: %0.3f\n", emotion_object_play_length_get(ev->obj)); + fprintf(stderr, "smartcb: length_change: %0.3f\n", emotion_object_play_length_get(ev->object)); return EINA_TRUE; } @@ -149,7 +149,7 @@ _length_change_cb(void *data EINA_UNUSED, const Eo_Event *ev) static Eina_Bool _position_update_cb(void *data EINA_UNUSED, const Eo_Event *ev) { - fprintf(stderr, "smartcb: position_update: %0.3f\n", emotion_object_position_get(ev->obj)); + fprintf(stderr, "smartcb: position_update: %0.3f\n", emotion_object_position_get(ev->object)); return EINA_TRUE; } @@ -158,8 +158,8 @@ static Eina_Bool _progress_change_cb(void *data EINA_UNUSED, const Eo_Event *ev) { fprintf(stderr, "smartcb: progress_change: %0.3f, %s\n", - emotion_object_progress_status_get(ev->obj), - emotion_object_progress_info_get(ev->obj)); + emotion_object_progress_status_get(ev->object), + emotion_object_progress_info_get(ev->object)); return EINA_TRUE; } diff --git a/src/examples/emotion/emotion_signals_example.c b/src/examples/emotion/emotion_signals_example.c index f8fc49d127..1a9dcbd626 100644 --- a/src/examples/emotion/emotion_signals_example.c +++ b/src/examples/emotion/emotion_signals_example.c @@ -37,7 +37,7 @@ static Eina_Bool _playback_started_cb(void *data EINA_UNUSED, const Eo_Event *ev) { printf(">>> Emotion object started playback.\n"); - _display_info(ev->obj); + _display_info(ev->object); return EINA_TRUE; } @@ -46,7 +46,7 @@ static Eina_Bool _playback_finished_cb(void *data EINA_UNUSED, const Eo_Event *ev) { printf(">>> Emotion object finished playback.\n"); - _display_info(ev->obj); + _display_info(ev->object); return EINA_TRUE; } @@ -55,7 +55,7 @@ static Eina_Bool _open_done_cb(void *data EINA_UNUSED, const Eo_Event *ev) { printf(">>> Emotion object open done.\n"); - _display_info(ev->obj); + _display_info(ev->object); return EINA_TRUE; } @@ -64,8 +64,8 @@ static Eina_Bool _position_update_cb(void *data EINA_UNUSED, const Eo_Event *ev) { printf(">>> Emotion object first position update.\n"); - eo_event_callback_del(ev->obj, EMOTION_OBJECT_EVENT_POSITION_UPDATE, _position_update_cb, NULL); - _display_info(ev->obj); + eo_event_callback_del(ev->object, EMOTION_OBJECT_EVENT_POSITION_UPDATE, _position_update_cb, NULL); + _display_info(ev->object); return EINA_TRUE; } @@ -74,8 +74,8 @@ static Eina_Bool _frame_decode_cb(void *data EINA_UNUSED, const Eo_Event *ev) { printf(">>> Emotion object first frame decode.\n"); - eo_event_callback_del(ev->obj, EMOTION_OBJECT_EVENT_FRAME_DECODE, _frame_decode_cb, NULL); - _display_info(ev->obj); + eo_event_callback_del(ev->object, EMOTION_OBJECT_EVENT_FRAME_DECODE, _frame_decode_cb, NULL); + _display_info(ev->object); return EINA_TRUE; } @@ -84,7 +84,7 @@ static Eina_Bool _decode_stop_cb(void *data EINA_UNUSED, const Eo_Event *ev) { printf(">>> Emotion object decode stop.\n"); - _display_info(ev->obj); + _display_info(ev->object); return EINA_TRUE; } @@ -93,7 +93,7 @@ static Eina_Bool _frame_resize_cb(void *data EINA_UNUSED, const Eo_Event *ev) { printf(">>> Emotion object frame resize.\n"); - _display_info(ev->obj); + _display_info(ev->object); return EINA_TRUE; } |