edje_cc should probably disallow overriding of currently-sequencing program
authorMike Blumenkrantz <zmike@samsung.com>
Sat, 22 Mar 2014 04:12:58 +0000 (00:12 -0400)
committerMike Blumenkrantz <zmike@samsung.com>
Sat, 22 Mar 2014 04:13:18 +0000 (00:13 -0400)
src/bin/edje/edje_cc_handlers.c

index 20c70d19dac5d36dcef27213393aba4ec9e2f651..f38273baf0d08f16868dabdbdd3c0d1af5c0a53f 100644 (file)
@@ -9846,6 +9846,7 @@ static void
 ob_collections_group_programs_program_sequence(void)
 {
    sequencing = current_program;
+   ((Edje_Program_Parser*)sequencing)->can_override = EINA_FALSE;
 }
 
 static void
@@ -10091,6 +10092,7 @@ edje_cc_handlers_pop_notify(const char *token)
 {
    if ((!sequencing) || strcmp(token, "sequence")) return;
    current_program = sequencing;
+   ((Edje_Program_Parser*)sequencing)->can_override = EINA_TRUE;
    sequencing = NULL;
 }