summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@samsung.com>2014-03-21 15:35:08 -0400
committerMike Blumenkrantz <zmike@samsung.com>2014-03-21 15:40:40 -0400
commit79a6653f59394c1cdb75f6e73853fdfa9cb5d794 (patch)
treee71eb701a2742941dd669155cc392cb5beefcb97 /src
parentfa14af1afb83912bf536354540db4c73f409fec2 (diff)
edje_cc error message for description with missing state is now useful
Diffstat (limited to 'src')
-rw-r--r--src/bin/edje/edje_cc_out.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/bin/edje/edje_cc_out.c b/src/bin/edje/edje_cc_out.c
index b24bcc7..5f54513 100644
--- a/src/bin/edje/edje_cc_out.c
+++ b/src/bin/edje/edje_cc_out.c
@@ -398,9 +398,13 @@ check_packed_items(Edje_Part_Collection *pc, Edje_Part *ep, Eet_File *ef)
398static void 398static void
399check_nameless_state(Edje_Part_Collection *pc, Edje_Part *ep, Edje_Part_Description_Common *ed, Eet_File *ef) 399check_nameless_state(Edje_Part_Collection *pc, Edje_Part *ep, Edje_Part_Description_Common *ed, Eet_File *ef)
400{ 400{
401 if (!ed->state.name) 401 Edje_Part_Collection_Directory_Entry *de;
402 error_and_abort(ef, "Collection %i: description with state missing on part \"%s\"", 402
403 pc->id, ep->name); 403 if (ed->state.name) return;
404
405 de = eina_hash_find(edje_collections_lookup, &pc->id);
406 error_and_abort(ef, "Group '%s': part \"%s\" has description with missing state",
407 de->entry, ep->name);
404} 408}
405 409
406static void 410static void