edje_cc should probably disallow overriding of currently-sequencing program

This commit is contained in:
Mike Blumenkrantz 2014-03-22 00:12:58 -04:00
parent b8bc366a28
commit a755dfa75e
1 changed files with 2 additions and 0 deletions

View File

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