mirror of
https://github.com/brl/mutter.git
synced 2024-11-23 00:20:42 -05:00
animator: s/clutter_animator_run/clutter_animator_start/
This is consistent with choice of words in clutter_timeline_start and makes the API less surprising.
This commit is contained in:
parent
9d1ea81dc5
commit
09d8460a5c
@ -1063,7 +1063,7 @@ clutter_animator_get_timeline (ClutterAnimator *animator)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* clutter_animator_run:
|
* clutter_animator_start:
|
||||||
* @animator: a #ClutterAnimator
|
* @animator: a #ClutterAnimator
|
||||||
*
|
*
|
||||||
* Start the ClutterAnimator, this is a thin wrapper that rewinds
|
* Start the ClutterAnimator, this is a thin wrapper that rewinds
|
||||||
@ -1074,7 +1074,7 @@ clutter_animator_get_timeline (ClutterAnimator *animator)
|
|||||||
* Since: 1.2
|
* Since: 1.2
|
||||||
*/
|
*/
|
||||||
ClutterTimeline *
|
ClutterTimeline *
|
||||||
clutter_animator_run (ClutterAnimator *animator)
|
clutter_animator_start (ClutterAnimator *animator)
|
||||||
{
|
{
|
||||||
ClutterAnimatorPrivate *priv;
|
ClutterAnimatorPrivate *priv;
|
||||||
|
|
||||||
|
@ -128,7 +128,7 @@ void clutter_animator_remove_key (ClutterAnimato
|
|||||||
const gchar *property_name,
|
const gchar *property_name,
|
||||||
gdouble progress);
|
gdouble progress);
|
||||||
|
|
||||||
ClutterTimeline * clutter_animator_run (ClutterAnimator *animator);
|
ClutterTimeline * clutter_animator_start (ClutterAnimator *animator);
|
||||||
|
|
||||||
gboolean clutter_animator_compute_value (ClutterAnimator *animator,
|
gboolean clutter_animator_compute_value (ClutterAnimator *animator,
|
||||||
GObject *object,
|
GObject *object,
|
||||||
|
@ -2035,7 +2035,7 @@ clutter_animator_set
|
|||||||
clutter_animator_set_key
|
clutter_animator_set_key
|
||||||
clutter_animator_remove_key
|
clutter_animator_remove_key
|
||||||
clutter_animator_get_keys
|
clutter_animator_get_keys
|
||||||
clutter_animator_run
|
clutter_animator_start
|
||||||
clutter_animator_compute_value
|
clutter_animator_compute_value
|
||||||
|
|
||||||
<SUBSECTION>
|
<SUBSECTION>
|
||||||
|
@ -125,7 +125,7 @@ test_animator_main (gint argc,
|
|||||||
|
|
||||||
clutter_animator_set_duration (animator, 5000);
|
clutter_animator_set_duration (animator, 5000);
|
||||||
|
|
||||||
g_signal_connect (clutter_animator_run (animator),
|
g_signal_connect (clutter_animator_start (animator),
|
||||||
"completed", G_CALLBACK (reverse_timeline), NULL);
|
"completed", G_CALLBACK (reverse_timeline), NULL);
|
||||||
clutter_main ();
|
clutter_main ();
|
||||||
g_object_unref (animator);
|
g_object_unref (animator);
|
||||||
|
Loading…
Reference in New Issue
Block a user