From: Jaehwan Kim Date: Wed, 19 Oct 2011 09:41:17 +0000 (+0000) Subject: From: Jaehwan Kim X-Git-Tag: submit/2.0alpha-wayland/20121127.221958~635 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b8ef3aa0d9d82d6689058640a0ece2308197392c;p=profile%2Fivi%2Fedje.git From: Jaehwan Kim Subject: [E-devel] [Patch] change rel1.to to default when using group inherit When using group inherit, if rel1.to is set in parent group, we cannot change the part name of rel1.to to default (the default is that dont have the part name) in child group. So I changed edje_cc_out.c. After patching, we can change rel1.to to default by using "". (ex > rel1.to: "";) git-svn-id: http://svn.enlightenment.org/svn/e/trunk/edje@64171 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- diff --git a/src/bin/edje_cc_out.c b/src/bin/edje_cc_out.c index dafbde3..a1aa168 100644 --- a/src/bin/edje_cc_out.c +++ b/src/bin/edje_cc_out.c @@ -1277,7 +1277,13 @@ data_queue_part_lookup(Edje_Part_Collection *pc, const char *name, int *dest) if ((pl->pc == pc) && (pl->dest == dest)) { free(pl->name); - pl->name = mem_strdup(name); + if (strlen(name) > 0) + pl->name = mem_strdup(name); + else + { + part_lookups = eina_list_remove(part_lookups, pl); + free(pl); + } return; } }