mirror of
https://github.com/brl/mutter.git
synced 2024-11-26 18:11:05 -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
|
||||
*
|
||||
* Start the ClutterAnimator, this is a thin wrapper that rewinds
|
||||
@ -1074,7 +1074,7 @@ clutter_animator_get_timeline (ClutterAnimator *animator)
|
||||
* Since: 1.2
|
||||
*/
|
||||
ClutterTimeline *
|
||||
clutter_animator_run (ClutterAnimator *animator)
|
||||
clutter_animator_start (ClutterAnimator *animator)
|
||||
{
|
||||
ClutterAnimatorPrivate *priv;
|
||||
|
||||
|
@ -128,7 +128,7 @@ void clutter_animator_remove_key (ClutterAnimato
|
||||
const gchar *property_name,
|
||||
gdouble progress);
|
||||
|
||||
ClutterTimeline * clutter_animator_run (ClutterAnimator *animator);
|
||||
ClutterTimeline * clutter_animator_start (ClutterAnimator *animator);
|
||||
|
||||
gboolean clutter_animator_compute_value (ClutterAnimator *animator,
|
||||
GObject *object,
|
||||
|
@ -2035,7 +2035,7 @@ clutter_animator_set
|
||||
clutter_animator_set_key
|
||||
clutter_animator_remove_key
|
||||
clutter_animator_get_keys
|
||||
clutter_animator_run
|
||||
clutter_animator_start
|
||||
clutter_animator_compute_value
|
||||
|
||||
<SUBSECTION>
|
||||
|
@ -125,7 +125,7 @@ test_animator_main (gint argc,
|
||||
|
||||
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);
|
||||
clutter_main ();
|
||||
g_object_unref (animator);
|
||||
|
Loading…
Reference in New Issue
Block a user