summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorHosang Kim <hosang12.kim@samsung.com>2016-03-15 11:23:28 -0700
committerCedric Bail <cedric@osg.samsung.com>2016-03-15 11:23:32 -0700
commit544bd91e5f8aafc1135f7e8449225a420aacbe06 (patch)
tree4450ef166ae4a06552ac0b63e4381fc4c7743a26 /src
parent48f75713e5aba37320eb2dbf4856a7f041741a2d (diff)
edje_cc: fix group inheriting
Summary: When edje_cc inherits group, group's script wasn't copied. So base group and inherited groups use same pointer. When edje_cc makes lookups for script, loopkups is overwritten. Test Plan: elementary_test -> shown error log Reviewers: Hermet, woohyun, cedric, raster Subscribers: jpeg Differential Revision: https://phab.enlightenment.org/D3796 Signed-off-by: Cedric Bail <cedric@osg.samsung.com>
Diffstat (limited to 'src')
-rw-r--r--src/bin/edje/edje_cc_handlers.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bin/edje/edje_cc_handlers.c b/src/bin/edje/edje_cc_handlers.c
index 173ad31a26..8fb43cf15f 100644
--- a/src/bin/edje/edje_cc_handlers.c
+++ b/src/bin/edje/edje_cc_handlers.c
@@ -4447,8 +4447,8 @@ st_collections_group_inherit(void)
4447 cp->script = STRDUP(cp2->script); 4447 cp->script = STRDUP(cp2->script);
4448 cp->original = STRDUP(cp2->original); 4448 cp->original = STRDUP(cp2->original);
4449 cd->is_lua = cd2->is_lua; 4449 cd->is_lua = cd2->is_lua;
4450 cd->shared = cd2->shared; 4450 cd->shared = STRDUP(cd2->shared);
4451 cd->original = cd2->original; 4451 cd->original = STRDUP(cd2->original);
4452 cd->programs = eina_list_append(cd->programs, cp); 4452 cd->programs = eina_list_append(cd->programs, cp);
4453 data_queue_copied_anonymous_lookup(pc, &(cp2->id), &(cp->id)); 4453 data_queue_copied_anonymous_lookup(pc, &(cp2->id), &(cp->id));
4454 } 4454 }