From 2d41d5afcb6e69d45ac5ca9575aa96f943484abf Mon Sep 17 00:00:00 2001 From: Bastian Winkler Date: Wed, 15 Sep 2010 14:46:19 +0200 Subject: [PATCH] state: Create a new target state in clutter_state_set_animator clutter_state_set_animator needs to create a new state in order to use a ClutterAnimator with a target state that doesn't exist yet. http://bugzilla.clutter-project.org/show_bug.cgi?id=2325 --- clutter/clutter-state.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clutter/clutter-state.c b/clutter/clutter-state.c index e21b01ebd..49f4a187e 100644 --- a/clutter/clutter-state.c +++ b/clutter/clutter-state.c @@ -1309,7 +1309,7 @@ clutter_state_set_animator (ClutterState *state, source_state_name = g_intern_string (source_state_name); target_state_name = g_intern_string (target_state_name); - target_state = clutter_state_fetch_state (state, target_state_name, FALSE); + target_state = clutter_state_fetch_state (state, target_state_name, TRUE); if (target_state == NULL) return;