summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@samsung.com>2018-06-25 13:48:15 +0900
committerHermet Park <hermetpark@gmail.com>2018-06-25 13:48:16 +0900
commit3db3fbaeeb956d9b264a86c310e657f2d8bb5f45 (patch)
tree45d3e932c3b4d33ede90686c480b66e4eb08060f
parentba8a47a316cf8473b16e3f2848f48e574fd7222f (diff)
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
-rw-r--r--src/lib/evas/canvas/evas_vg_node.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/evas/canvas/evas_vg_node.c b/src/lib/evas/canvas/evas_vg_node.c
index 1427beb693..8ca0e62538 100644
--- a/src/lib/evas/canvas/evas_vg_node.c
+++ b/src/lib/evas/canvas/evas_vg_node.c
@@ -24,6 +24,7 @@ _efl_canvas_vg_node_property_changed(void *data, const Efl_Event *event EINA_UNU
24 24
25 if (!pd->flags) pd->flags = EFL_GFX_CHANGE_FLAG_ALL; 25 if (!pd->flags) pd->flags = EFL_GFX_CHANGE_FLAG_ALL;
26 26
27 if (efl_invalidated_get(event->object)) return;
27 parent = efl_parent_get(event->object); 28 parent = efl_parent_get(event->object);
28 efl_event_callback_call(parent, event->desc, event->info); 29 efl_event_callback_call(parent, event->desc, event->info);
29} 30}