From: Jaehwan Kim <jae.hwan.kim@samsung.com>

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: "";)



SVN revision: 64171
This commit is contained in:
Jaehwan Kim 2011-10-19 09:41:17 +00:00 committed by Carsten Haitzler
parent 0028add9c6
commit bda33541cf
1 changed files with 7 additions and 1 deletions

View File

@ -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;
}
}