jackdanielz pushed a commit to branch master.

http://git.enlightenment.org/core/elementary.git/commit/?id=ec424b6893ef6c665fd351115b314a59865c0f6e

commit ec424b6893ef6c665fd351115b314a59865c0f6e
Author: Avi Levin <avi.le...@samsung.com>
Date:   Thu Apr 30 14:18:41 2015 +0300

    elm_flip: porting evas smart callbacks to eo
---
 src/lib/elm_flip.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/lib/elm_flip.c b/src/lib/elm_flip.c
index 29cd214..8608817 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))

-- 


Reply via email to