summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Hacohen <tom@stosb.com>2016-03-09 15:22:09 +0000
committerTom Hacohen <tom@stosb.com>2016-03-09 16:09:14 +0000
commit6ac1fb78d855be27d28378a659887b693e5fb266 (patch)
tree38e95e6779a9e58202a5649b0f53010431478d15
parentb85bb3718389470bfc78c079dd5e06def5e963f3 (diff)
Vg node: modify so the eo_add migration script won't break.
-rw-r--r--src/lib/evas/canvas/evas_vg_node.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/evas/canvas/evas_vg_node.c b/src/lib/evas/canvas/evas_vg_node.c
index 3a80b63594..2ae9135681 100644
--- a/src/lib/evas/canvas/evas_vg_node.c
+++ b/src/lib/evas/canvas/evas_vg_node.c
@@ -778,7 +778,8 @@ _efl_vg_base_dup(Eo *obj, Efl_VG_Base_Data *pd, const Efl_VG_Base *from)
778 _efl_vg_clean_object(&pd->mask); 778 _efl_vg_clean_object(&pd->mask);
779 if (fromd->mask) 779 if (fromd->mask)
780 { 780 {
781 pd->mask = eo_add(eo_class_get(fromd->mask), obj, efl_vg_dup(eoid, pd->mask)); 781 Eo *tmp = pd->mask;
782 pd->mask = eo_add(eo_class_get(fromd->mask), obj, efl_vg_dup(eoid, tmp));
782 } 783 }
783 784
784 pd->x = fromd->x; 785 pd->x = fromd->x;