summaryrefslogtreecommitdiff
path: root/src/tests/eo/constructors/constructors_simple.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests/eo/constructors/constructors_simple.c')
-rw-r--r--src/tests/eo/constructors/constructors_simple.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/tests/eo/constructors/constructors_simple.c b/src/tests/eo/constructors/constructors_simple.c
index d287485..370ca60 100644
--- a/src/tests/eo/constructors/constructors_simple.c
+++ b/src/tests/eo/constructors/constructors_simple.c
@@ -44,7 +44,7 @@ _constructor(Eo *obj, void *class_data EINA_UNUSED)
44{ 44{
45 my_init_count++; 45 my_init_count++;
46 46
47 return eo_do_super_ret(obj, MY_CLASS, obj, eo_constructor()); 47 return eo_constructor(eo_super(obj, MY_CLASS));
48} 48}
49 49
50static Eo* 50static Eo*
@@ -53,7 +53,7 @@ _finalize(Eo *obj, void *class_data EINA_UNUSED)
53 Eo *ret; 53 Eo *ret;
54 Private_Data *pd = class_data; 54 Private_Data *pd = class_data;
55 55
56 eo_do_super(obj, MY_CLASS, ret = eo_finalize()); 56 ret = eo_finalize(eo_super(obj, MY_CLASS));
57 57
58 if (pd->a < 0) 58 if (pd->a < 0)
59 { 59 {
@@ -66,7 +66,7 @@ _finalize(Eo *obj, void *class_data EINA_UNUSED)
66static void 66static void
67_destructor(Eo *obj, void *class_data EINA_UNUSED) 67_destructor(Eo *obj, void *class_data EINA_UNUSED)
68{ 68{
69 eo_do_super(obj, MY_CLASS, eo_destructor()); 69 eo_destructor(eo_super(obj, MY_CLASS));
70 70
71 my_init_count--; 71 my_init_count--;
72} 72}