diff options
author | Avi Levin <avi.levin@samsung.com> | 2015-04-30 14:18:41 +0300 |
---|---|---|
committer | Daniel Zaoui <daniel.zaoui@samsung.com> | 2015-06-29 11:02:17 +0300 |
commit | ec424b6893ef6c665fd351115b314a59865c0f6e (patch) | |
tree | ff41df3844e6adbc9e079f40e69388cffa8b1e07 | |
parent | 5ac56354a11f212253792edd007f302c801df4de (diff) | |
download | elementary-ec424b6893ef6c665fd351115b314a59865c0f6e.tar.gz |
elm_flip: porting evas smart callbacks to eo
-rw-r--r-- | src/lib/elm_flip.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/lib/elm_flip.c b/src/lib/elm_flip.c index 29cd214c8..86088170f 100644 --- a/src/lib/elm_flip.c +++ b/src/lib/elm_flip.c @@ -1333,7 +1333,7 @@ _flip(Evas_Object *obj) sd->state = sd->next_state; _configure(obj); _flip_show_hide(obj); - evas_object_smart_callback_call(obj, SIG_ANIMATE_DONE, NULL); + eo_do(obj, eo_event_callback_call(ELM_FLIP_EVENT_ANIMATE_DONE, NULL)); return ECORE_CALLBACK_CANCEL; } @@ -1514,8 +1514,8 @@ _event_anim(void *data, _flip_show_hide(sd->obj); _configure(sd->obj); sd->animator = NULL; - evas_object_smart_callback_call - (sd->obj, SIG_ANIMATE_DONE, NULL); + eo_do(sd->obj, eo_event_callback_call + (ELM_FLIP_EVENT_ANIMATE_DONE, NULL)); return ECORE_CALLBACK_CANCEL; } @@ -1701,7 +1701,7 @@ _move_cb(void *data, evas_smart_objects_calculate(evas_object_evas_get(data)); _configure(fl); // FIXME: end hack - evas_object_smart_callback_call(fl, SIG_ANIMATE_BEGIN, NULL); + eo_do(fl, eo_event_callback_call(ELM_FLIP_EVENT_ANIMATE_BEGIN, NULL)); } else return; } @@ -1922,7 +1922,7 @@ _internal_elm_flip_go_to(Evas_Object *obj, evas_smart_objects_calculate(evas_object_evas_get(obj)); _configure(obj); // FIXME: end hack - evas_object_smart_callback_call(obj, SIG_ANIMATE_BEGIN, NULL); + eo_do(obj, eo_event_callback_call(ELM_FLIP_EVENT_ANIMATE_BEGIN, NULL)); // set focus to the content object when flip go to is called if (elm_object_focus_get(obj)) |