Require that groups have a name.

SVN revision: 20094
This commit is contained in:
rephorm 2006-01-29 06:05:16 +00:00 committed by rephorm
parent 18d01b7d4a
commit adb75e5097
1 changed files with 12 additions and 0 deletions

View File

@ -476,6 +476,18 @@ data_write(void)
ecore_shutdown();
}
/* check that all groups have names */
for (l = edje_file->collection_dir->entries; l; l = l->next)
{
Edje_Part_Collection_Directory_Entry *de;
de = l->data;
if (!de->entry)
{
fprintf(stderr, "%s: Error. collection %i: name missing.\n",
progname, de->id);
ABORT_WRITE(ef, file_out);
}
}
/* sanity checks for parts and programs */
for (l = edje_collections; l; l = l->next)
{