mirror of
https://github.com/brl/mutter.git
synced 2024-11-26 18:11:05 -05:00
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
This commit is contained in:
parent
9399760030
commit
2d41d5afcb
@ -1309,7 +1309,7 @@ clutter_state_set_animator (ClutterState *state,
|
|||||||
source_state_name = g_intern_string (source_state_name);
|
source_state_name = g_intern_string (source_state_name);
|
||||||
target_state_name = g_intern_string (target_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)
|
if (target_state == NULL)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user