summaryrefslogtreecommitdiff
path: root/src/lib/evas/canvas/evas_object_vg.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/evas/canvas/evas_object_vg.c')
-rw-r--r--src/lib/evas/canvas/evas_object_vg.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/evas/canvas/evas_object_vg.c b/src/lib/evas/canvas/evas_object_vg.c
index 7d96eeb..929b584 100644
--- a/src/lib/evas/canvas/evas_object_vg.c
+++ b/src/lib/evas/canvas/evas_object_vg.c
@@ -117,11 +117,11 @@ _evas_vg_eo_base_destructor(Eo *eo_obj, Evas_VG_Data *pd)
117 if (pd->engine_data) 117 if (pd->engine_data)
118 obj->layer->evas->engine.func->ector_free(pd->engine_data); 118 obj->layer->evas->engine.func->ector_free(pd->engine_data);
119 119
120 eo_do(e, eo_event_callback_del(EVAS_CANVAS_EVENT_RENDER_POST, _cleanup_reference, pd)); 120 eo_event_callback_del(e, EVAS_CANVAS_EVENT_RENDER_POST, _cleanup_reference, pd);
121 121
122 eo_unref(pd->root); 122 eo_unref(pd->root);
123 pd->root = NULL; 123 pd->root = NULL;
124 eo_do_super(eo_obj, MY_CLASS, eo_destructor()); 124 eo_destructor(eo_super(eo_obj, MY_CLASS));
125} 125}
126 126
127Eo * 127Eo *
@@ -129,7 +129,7 @@ _evas_vg_eo_base_constructor(Eo *eo_obj, Evas_VG_Data *pd)
129{ 129{
130 Evas_Object_Protected_Data *obj = eo_data_scope_get(eo_obj, EVAS_OBJECT_CLASS); 130 Evas_Object_Protected_Data *obj = eo_data_scope_get(eo_obj, EVAS_OBJECT_CLASS);
131 131
132 eo_obj = eo_do_super_ret(eo_obj, MY_CLASS, eo_obj, eo_constructor()); 132 eo_obj = eo_constructor(eo_super(eo_obj, MY_CLASS));
133 133
134 /* set up methods (compulsory) */ 134 /* set up methods (compulsory) */
135 obj->func = &object_func; 135 obj->func = &object_func;
@@ -152,7 +152,7 @@ _evas_vg_eo_base_finalize(Eo *obj, Evas_VG_Data *pd)
152 152
153 // TODO: If we start to have to many Evas_Object_VG per canvas, it may be nice 153 // TODO: If we start to have to many Evas_Object_VG per canvas, it may be nice
154 // to actually have one event per canvas and one array per canvas to. 154 // to actually have one event per canvas and one array per canvas to.
155 eo_do(e, eo_event_callback_add(EVAS_CANVAS_EVENT_RENDER_POST, _cleanup_reference, pd)); 155 eo_event_callback_add(e, EVAS_CANVAS_EVENT_RENDER_POST, _cleanup_reference, pd);
156 156
157 return obj; 157 return obj;
158} 158}