summaryrefslogtreecommitdiff
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.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/tests/eo/signals/signals_simple.c b/src/tests/eo/signals/signals_simple.c
index d3145e5..8a70f5f 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)
23 pd->a = a; 23 pd->a = a;
24 printf("%s %d\n", __func__, pd->a); 24 printf("%s %d\n", __func__, pd->a);
25 25
26 eo_do(obj, eo_event_callback_call(EV_A_CHANGED, &pd->a)); 26 eo_event_callback_call(obj, EV_A_CHANGED, &pd->a);
27} 27}
28 28
29Eina_Bool 29Eina_Bool
@@ -59,12 +59,12 @@ _cb_deled(void *data, const Eo_Event *event)
59static Eo * 59static Eo *
60_constructor(Eo *obj, void *class_data EINA_UNUSED) 60_constructor(Eo *obj, void *class_data EINA_UNUSED)
61{ 61{
62 obj = eo_do_super_ret(obj, MY_CLASS, obj, eo_constructor()); 62 obj = eo_constructor(eo_super(obj, MY_CLASS));
63 63
64 eo_do(obj, eo_event_callback_add(EO_BASE_EVENT_CALLBACK_ADD, _cb_added, NULL)); 64 eo_event_callback_add(obj, EO_BASE_EVENT_CALLBACK_ADD, _cb_added, NULL);
65 eo_do(obj, eo_event_callback_add(EO_BASE_EVENT_CALLBACK_DEL, _cb_deled, NULL)); 65 eo_event_callback_add(obj, EO_BASE_EVENT_CALLBACK_DEL, _cb_deled, NULL);
66 66
67 eo_do(obj, eo_key_data_set("cb_count", NULL)); 67 eo_key_data_set(obj, "cb_count", NULL);
68 68
69 return obj; 69 return obj;
70} 70}