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:
Øyvind Kolås 2010-03-02 17:03:03 +00:00
parent 9d1ea81dc5
commit 09d8460a5c
4 changed files with 5 additions and 5 deletions

View File

@ -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;

View File

@ -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,

View File

@ -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>

View File

@ -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);