aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests/eo/signals/signals_simple.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests/eo/signals/signals_simple.c')
-rw-r--r--src/tests/eo/signals/signals_simple.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/tests/eo/signals/signals_simple.c b/src/tests/eo/signals/signals_simple.c
index 7b55cf8d5b..3850014ba6 100644
--- a/src/tests/eo/signals/signals_simple.c
+++ b/src/tests/eo/signals/signals_simple.c
@@ -23,7 +23,7 @@ _a_set(Eo *obj, void *class_data, int a)
pd->a = a;
printf("%s %d\n", __func__, pd->a);
- eo_do(obj, eo_event_callback_call(EV_A_CHANGED, &pd->a));
+ eo_do(obj, eo_event_callback_call(obj, EV_A_CHANGED, &pd->a));
}
Eina_Bool
@@ -63,17 +63,17 @@ _cb_deled(void *data, Eo *obj, const Eo_Event_Description *desc, void *event_inf
static Eo *
_constructor(Eo *obj, void *class_data EINA_UNUSED)
{
- obj = eo_do_super_ret(obj, MY_CLASS, obj, eo_constructor());
+ obj = eo_super_eo_constructor( MY_CLASS, obj);
- eo_do(obj, eo_event_callback_add(EO_EV_CALLBACK_ADD, _cb_added, NULL));
- eo_do(obj, eo_event_callback_add(EO_EV_CALLBACK_DEL, _cb_deled, NULL));
+ eo_do(obj, eo_event_callback_add(obj, EO_EV_CALLBACK_ADD, _cb_added, NULL));
+ eo_do(obj, eo_event_callback_add(obj, EO_EV_CALLBACK_DEL, _cb_deled, NULL));
- eo_do(obj, eo_key_data_set("cb_count", NULL));
+ eo_do(obj, eo_key_data_set(obj, "cb_count", NULL));
return obj;
}
-EAPI EO_VOID_FUNC_BODYV(simple_a_set, EO_FUNC_CALL(a), int a);
+EAPI EO_FUNC_VOID_API_DEFINE(simple_a_set, EO_FUNC_CALL(a), int a);
static Eo_Op_Description op_descs[] = {
EO_OP_FUNC_OVERRIDE(eo_constructor, _constructor),