summaryrefslogtreecommitdiff
path: root/src/lib/evas/canvas/evas_vg_shape.c
diff options
context:
space:
mode:
authorTom Hacohen <tom@stosb.com>2016-03-11 12:24:08 +0000
committerTom Hacohen <tom@stosb.com>2016-03-11 12:29:03 +0000
commitf24210caac8d50940ddef858994571be59179c10 (patch)
treecfc8b264e77abbab9827517d1827f9a4fb4dcd50 /src/lib/evas/canvas/evas_vg_shape.c
parent9fdac37187e35f45570c3808011d0283c658652d (diff)
Revert "Automatic migration to the new eo_add syntax."
This reverts commit 4f949a2757b6332306264d7f126b15ba7bfd37d4.
Diffstat (limited to 'src/lib/evas/canvas/evas_vg_shape.c')
-rw-r--r--src/lib/evas/canvas/evas_vg_shape.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/lib/evas/canvas/evas_vg_shape.c b/src/lib/evas/canvas/evas_vg_shape.c
index 9d49735..312953a 100644
--- a/src/lib/evas/canvas/evas_vg_shape.c
+++ b/src/lib/evas/canvas/evas_vg_shape.c
@@ -232,17 +232,17 @@ _efl_vg_shape_efl_vg_base_dup(Eo *obj, Efl_VG_Shape_Data *pd EINA_UNUSED, const
232 232
233 if (fromd->fill) 233 if (fromd->fill)
234 { 234 {
235 eo_add(&fill, eo_class_get(fromd->fill), parent, efl_vg_dup(fill, fromd->fill)); 235 fill = eo_add(eo_class_get(fromd->fill), parent, efl_vg_dup(eoid, fromd->fill));
236 } 236 }
237 237
238 if (fromd->stroke.fill) 238 if (fromd->stroke.fill)
239 { 239 {
240 eo_add(&stroke_fill, eo_class_get(fromd->stroke.fill), parent, efl_vg_dup(stroke_fill, fromd->stroke.fill)); 240 stroke_fill = eo_add(eo_class_get(fromd->stroke.fill), parent, efl_vg_dup(eoid, fromd->stroke.fill));
241 } 241 }
242 242
243 if (fromd->stroke.marker) 243 if (fromd->stroke.marker)
244 { 244 {
245 eo_add(&stroke_marker, eo_class_get(fromd->stroke.marker), parent, efl_vg_dup(stroke_marker, fromd->stroke.marker)); 245 stroke_marker = eo_add(eo_class_get(fromd->stroke.marker), parent, efl_vg_dup(eoid, fromd->stroke.marker));
246 } 246 }
247 247
248 efl_vg_shape_fill_set(obj, fill); 248 efl_vg_shape_fill_set(obj, fill);
@@ -458,8 +458,7 @@ evas_vg_shape_shape_equal_commands(Eo *obj, const Eo *with)
458EAPI Efl_VG* 458EAPI Efl_VG*
459evas_vg_shape_add(Efl_VG *parent) 459evas_vg_shape_add(Efl_VG *parent)
460{ 460{
461 Eo *ret = NULL; 461 return eo_add(EFL_VG_SHAPE_CLASS, parent);
462 return eo_add(&ret, EFL_VG_SHAPE_CLASS, parent);
463} 462}
464 463
465#include "efl_vg_shape.eo.c" 464#include "efl_vg_shape.eo.c"