evas canvas: add exceptional case.

Summary:
parent_container should have eina_false as given null parent
in order to avoid call vg_node_changed() for parent.

Reviewers: #committers, devilhorns, zmike

Reviewed By: #committers, zmike

Subscribers: cedric, #committers, zmike

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D6387
This commit is contained in:
Hermet Park 2018-06-25 06:49:49 -04:00 committed by Mike Blumenkrantz
parent 6f6b365c84
commit 28aed68e7f
1 changed files with 1 additions and 0 deletions

View File

@ -351,6 +351,7 @@ _efl_canvas_vg_node_efl_object_parent_set(Eo *obj,
parent, efl_class_name_get(efl_class_get(parent)), obj);
return;
}
else parent_container = EINA_FALSE;
if (!_efl_canvas_vg_node_parent_checked_get(obj, &old_parent, &old_cd))
return;