canvas/vg: fix the reference issue in evas_vg objects.

Reviewers: jpeg, cedric

Reviewed By: cedric

Subscribers: cedric, jpeg

Differential Revision: https://phab.enlightenment.org/D4079

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
This commit is contained in:
Subhransu Mohanty 2016-06-23 10:15:41 -07:00 committed by Cedric BAIL
parent de7809a868
commit e73533ebbc
1 changed files with 1 additions and 1 deletions

View File

@ -171,7 +171,7 @@ _efl_vg_container_efl_vg_dup(Eo *obj,
{
// By setting parent, we automatically reference
// this new object as a child of obj. Magic at work !
(void) eo_add_ref(eo_class_get(child), obj, efl_vg_dup(eo_self, child));
(void) eo_add(eo_class_get(child), obj, efl_vg_dup(eo_self, child));
}
}