aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2014-09-02 15:16:40 -0400
committerMike Blumenkrantz <zmike@osg.samsung.com>2014-09-02 15:17:38 -0400
commita2e890f181a0d3c85223d53c39be24d3ba3760b6 (patch)
tree48abf63f518ce8565622086d51557d8336714d3f
parentevas: actually just define the right number of events. (diff)
downloadefl-a2e890f181a0d3c85223d53c39be24d3ba3760b6.tar.gz
edje_cc now throws an error during link combination when the current part has no name
@fix
-rw-r--r--src/bin/edje/edje_cc_handlers.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/bin/edje/edje_cc_handlers.c b/src/bin/edje/edje_cc_handlers.c
index afaaf73fdb..41331ca0a8 100644
--- a/src/bin/edje/edje_cc_handlers.c
+++ b/src/bin/edje/edje_cc_handlers.c
@@ -2845,6 +2845,11 @@ _link_combine(void)
eina_list_move_list(&combine, (Eina_List**)&tup->data, l);
}
current_program = el->pr;
+ if (!el->epp->common.name)
+ {
+ ERR("A part without a name was detected.");
+ exit(-1);
+ }
_program_target_add(strdup(el->epp->common.name));
EINA_LIST_FREE(combine, ell)
{