projects
/
platform
/
upstream
/
efl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f9cd1b1
)
evas: vg loader actually should hold a ref when no parent is given.
author
Cedric BAIL
<cedric@osg.samsung.com>
Tue, 3 Apr 2018 21:25:20 +0000
(14:25 -0700)
committer
Wonki Kim
<wonki_.kim@samsung.com>
Tue, 10 Apr 2018 13:25:39 +0000
(22:25 +0900)
src/static_libs/vg_common/vg_common.c
patch
|
blob
|
history
diff --git
a/src/static_libs/vg_common/vg_common.c
b/src/static_libs/vg_common/vg_common.c
index
b3afb7d
..
b6be729
100644
(file)
--- a/
src/static_libs/vg_common/vg_common.c
+++ b/
src/static_libs/vg_common/vg_common.c
@@
-762,7
+762,10
@@
vg_common_create_vg_node_helper(Svg_Node *node, Efl_VG *parent, Vg_File_Data *vg
case SVG_NODE_DOC:
case SVG_NODE_G:
{
- vg = evas_vg_container_add(parent);
+ if (!parent)
+ vg = efl_add_ref(EFL_CANVAS_VG_CONTAINER_CLASS, NULL);
+ else
+ vg = efl_add(EFL_CANVAS_VG_CONTAINER_CLASS, parent);
_apply_vg_property(node, vg, vg_data);
EINA_LIST_FOREACH(node->child, l, child)
{