mirror of
https://github.com/brl/mutter.git
synced 2024-12-25 04:22:05 +00:00
docs: Description fixes for State.set_animator()
This commit is contained in:
parent
695839c6f3
commit
af42cdbe87
@ -1289,8 +1289,8 @@ clutter_state_get_animator (ClutterState *state,
|
|||||||
* the two named states.
|
* the two named states.
|
||||||
*
|
*
|
||||||
* The @animator allows specifying a transition between the state that is
|
* The @animator allows specifying a transition between the state that is
|
||||||
* more elaborate than the basic transitions other allowed by the simple
|
* more elaborate than the basic transitions allowed by the tweening of
|
||||||
* tweening of properties defined in the #ClutterState keys.
|
* properties defined in the #ClutterState keys.
|
||||||
*
|
*
|
||||||
* If @animator is %NULL it will unset an existing animator.
|
* If @animator is %NULL it will unset an existing animator.
|
||||||
*
|
*
|
||||||
@ -1338,8 +1338,11 @@ clutter_state_set_animator (ClutterState *state,
|
|||||||
|
|
||||||
if (animator != NULL)
|
if (animator != NULL)
|
||||||
{
|
{
|
||||||
StateAnimator state_animator =
|
StateAnimator state_animator = {
|
||||||
{source_state_name, g_object_ref (animator)};
|
source_state_name,
|
||||||
|
g_object_ref (animator)
|
||||||
|
};
|
||||||
|
|
||||||
g_array_append_val (target_state->animators, state_animator);
|
g_array_append_val (target_state->animators, state_animator);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user