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:
parent
de7809a868
commit
e73533ebbc
|
@ -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));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue