summaryrefslogtreecommitdiff
path: root/src/static_libs/vg_common/vg_common_json.c
diff options
context:
space:
mode:
authorHermet Park <hermetpark@gmail.com>2019-12-31 14:15:49 +0900
committerHermet Park <hermetpark@gmail.com>2019-12-31 14:19:01 +0900
commit174c593c70ae1ac8babc67637aa434aff0dfa243 (patch)
tree59a8f064d9df5bc5f77ef57b48a6381397b08555 /src/static_libs/vg_common/vg_common_json.c
parentd79693d1a9086541ff16a8dde7c0a4b79f14cc19 (diff)
evas vg: add an new interface efl_canvas_vg_container_children_direct_get()
Summary: We need an efficient method to navigate children faster. Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D10989
Diffstat (limited to '')
-rw-r--r--src/static_libs/vg_common/vg_common_json.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/static_libs/vg_common/vg_common_json.c b/src/static_libs/vg_common/vg_common_json.c
index 7a41527795..ba113c2bf8 100644
--- a/src/static_libs/vg_common/vg_common_json.c
+++ b/src/static_libs/vg_common/vg_common_json.c
@@ -378,11 +378,11 @@ _reset_vg_tree(Efl_VG *node)
378 //Hide all nodes visibility 378 //Hide all nodes visibility
379 if (efl_isa(node, EFL_CANVAS_VG_CONTAINER_CLASS)) 379 if (efl_isa(node, EFL_CANVAS_VG_CONTAINER_CLASS))
380 { 380 {
381 Eina_List *list = (Eina_List*) efl_canvas_vg_container_children_direct_get(node);
382 Eina_List *list2;
381 Efl_VG* child; 383 Efl_VG* child;
382 Eina_Iterator *itr = efl_canvas_vg_container_children_get(node); 384 EINA_LIST_FOREACH(list, list2, child)
383 EINA_ITERATOR_FOREACH(itr, child)
384 _reset_vg_tree(child); 385 _reset_vg_tree(child);
385 if (itr) eina_iterator_free(itr);
386 } 386 }
387 efl_gfx_entity_visible_set(node, EINA_FALSE); 387 efl_gfx_entity_visible_set(node, EINA_FALSE);
388} 388}