edje: patch all group the intended way.

SVN revision: 66382
This commit is contained in:
Cedric BAIL 2011-12-20 10:28:30 +00:00
parent 6978922924
commit 206c40e59a
1 changed files with 6 additions and 4 deletions

View File

@ -1702,12 +1702,14 @@ data_process_lookups(void)
{
Edje_Part_Collection_Directory_Entry *de;
if (!group->part
|| (group->part->type != EDJE_PART_TYPE_GROUP
if (group->part)
{
if (group->part->type != EDJE_PART_TYPE_GROUP
&& group->part->type != EDJE_PART_TYPE_TEXTBLOCK
&& group->part->type != EDJE_PART_TYPE_BOX
&& group->part->type != EDJE_PART_TYPE_TABLE))
goto free_group;
&& group->part->type != EDJE_PART_TYPE_TABLE)
goto free_group;
}
de = eina_hash_find(edje_file->collection, group->name);