summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvi Levin <avi.levin@samsung.com>2015-04-30 14:18:41 +0300
committerAvi Levin <avi.levin@samsung.com>2015-06-29 17:03:30 +0300
commit5098a4f24bd8cc2bcbc1b99a8a19f29013441aff (patch)
tree23ef0ec4a694e7076c89c0d3d7108abb8e60fc76
parent96c0ab939ecfff6b2f828156234ab281aae9c40b (diff)
downloadelementary-5098a4f24bd8cc2bcbc1b99a8a19f29013441aff.tar.gz
elm_flip: porting evas smart callbacks to eo
-rw-r--r--src/lib/elm_flip.c10
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))