summaryrefslogtreecommitdiff
path: root/src/lib/evas/canvas/evas_vg_container.c
diff options
context:
space:
mode:
authorTom Hacohen <tom@stosb.com>2016-03-09 15:47:28 +0000
committerTom Hacohen <tom@stosb.com>2016-03-09 16:09:14 +0000
commit4f949a2757b6332306264d7f126b15ba7bfd37d4 (patch)
treeec3a3aacfe34b2b3e75f3fc4d85531f6f4957c9d /src/lib/evas/canvas/evas_vg_container.c
parentdf83edaeb6b10324868f28e8f1910147ba22e5e5 (diff)
Automatic migration to the new eo_add syntax.
Diffstat (limited to 'src/lib/evas/canvas/evas_vg_container.c')
-rw-r--r--src/lib/evas/canvas/evas_vg_container.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/lib/evas/canvas/evas_vg_container.c b/src/lib/evas/canvas/evas_vg_container.c
index 7d766a5..7491c3a 100644
--- a/src/lib/evas/canvas/evas_vg_container.c
+++ b/src/lib/evas/canvas/evas_vg_container.c
@@ -155,14 +155,16 @@ _efl_vg_container_efl_vg_base_dup(Eo *obj,
155 { 155 {
156 // By setting parent, we automatically reference 156 // By setting parent, we automatically reference
157 // this new object as a child of obj. Magic at work ! 157 // this new object as a child of obj. Magic at work !
158 (void) eo_add_ref(eo_class_get(child), obj, efl_vg_dup(eoid, child)); 158 Eo *tmp = NULL;
159 eo_add_ref(&tmp, eo_class_get(child), obj, efl_vg_dup(tmp, child));
159 } 160 }
160} 161}
161 162
162EAPI Efl_VG* 163EAPI Efl_VG*
163evas_vg_container_add(Efl_VG *parent) 164evas_vg_container_add(Efl_VG *parent)
164{ 165{
165 return eo_add(EFL_VG_CONTAINER_CLASS, parent); 166 Eo *ret = NULL;
167 return eo_add(&ret, EFL_VG_CONTAINER_CLASS, parent);
166} 168}
167 169
168#include "efl_vg_container.eo.c" 170#include "efl_vg_container.eo.c"