summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHermet Park <hermetpark@gmail.com>2019-01-02 13:33:25 +0900
committerHermet Park <hermetpark@gmail.com>2019-01-02 13:33:25 +0900
commit690619ee885b802ad88b4f35868e077476e2973e (patch)
treef69c74cf45902a2916bac91ce05c58060ee0268d
parent3b7efdc80fba3852bc029239cfc741dee3904f66 (diff)
evas vg: ++safe code
strong check validation of vg object.
-rw-r--r--src/lib/evas/canvas/efl_canvas_vg_node.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/evas/canvas/efl_canvas_vg_node.c b/src/lib/evas/canvas/efl_canvas_vg_node.c
index a79de36962..0c0f383ee2 100644
--- a/src/lib/evas/canvas/efl_canvas_vg_node.c
+++ b/src/lib/evas/canvas/efl_canvas_vg_node.c
@@ -30,7 +30,8 @@ _node_change(Efl_VG *obj, Efl_Canvas_Vg_Node_Data *nd)
30 if (pnd->flags != EFL_GFX_CHANGE_FLAG_NONE) break; 30 if (pnd->flags != EFL_GFX_CHANGE_FLAG_NONE) break;
31 pnd->flags = EFL_GFX_CHANGE_FLAG_ALL; 31 pnd->flags = EFL_GFX_CHANGE_FLAG_ALL;
32 } 32 }
33 efl_canvas_vg_object_change(nd->vd); 33 if (efl_invalidated_get(nd->vg_obj)) return;
34 efl_canvas_vg_object_chang(nd->vd);
34} 35}
35 36
36static void 37static void