evas_vg_node: do not propagate node changed callbacks for invalidated objects

Summary: this callback is triggered on the parent object. invalidated objects have no parent.

Reviewers: bu5hm4n, devilhorns, Hermet

Reviewed By: Hermet

Subscribers: Hermet, cedric, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D6335
This commit is contained in:
Mike Blumenkrantz 2018-06-25 13:48:15 +09:00 committed by Hermet Park
parent ba8a47a316
commit 3db3fbaeeb
1 changed files with 1 additions and 0 deletions

View File

@ -24,6 +24,7 @@ _efl_canvas_vg_node_property_changed(void *data, const Efl_Event *event EINA_UNU
if (!pd->flags) pd->flags = EFL_GFX_CHANGE_FLAG_ALL;
if (efl_invalidated_get(event->object)) return;
parent = efl_parent_get(event->object);
efl_event_callback_call(parent, event->desc, event->info);
}