summaryrefslogtreecommitdiff
path: root/src/examples/eo/evas/evas_evas_obj.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/examples/eo/evas/evas_evas_obj.c')
-rw-r--r--src/examples/eo/evas/evas_evas_obj.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/examples/eo/evas/evas_evas_obj.c b/src/examples/eo/evas/evas_evas_obj.c
index 768d3d4..1a26ddf 100644
--- a/src/examples/eo/evas/evas_evas_obj.c
+++ b/src/examples/eo/evas/evas_evas_obj.c
@@ -82,18 +82,18 @@ _child_add(Eo *obj, void *class_data, va_list *list)
82static void 82static void
83_constructor(Eo *obj, void *class_data EINA_UNUSED, va_list *list EINA_UNUSED) 83_constructor(Eo *obj, void *class_data EINA_UNUSED, va_list *list EINA_UNUSED)
84{ 84{
85 eo_do_super(obj, MY_CLASS, eo_constructor()); 85 eo_constructor(eo_super(obj, MY_CLASS));
86 86
87 /* Add type check. */ 87 /* Add type check. */
88 Eo *parent = eo_parent_get(obj); 88 Eo *parent = eo_parent_get(obj);
89 if (parent) 89 if (parent)
90 eo_do(parent, exevas_obj_child_add(obj)); 90 exevas_obj_child_add(parent, obj);
91} 91}
92 92
93static void 93static void
94_destructor(Eo *obj, void *class_data, va_list *list EINA_UNUSED) 94_destructor(Eo *obj, void *class_data, va_list *list EINA_UNUSED)
95{ 95{
96 eo_do_super(obj, MY_CLASS, eo_destructor()); 96 eo_destructor(eo_super(obj, MY_CLASS));
97 97
98 Widget_Data *wd = class_data; 98 Widget_Data *wd = class_data;
99 99