From 09d8460a5c3f905573378172ed553fd57d49913e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=98yvind=20Kol=C3=A5s?= Date: Tue, 2 Mar 2010 17:03:03 +0000 Subject: [PATCH] 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. --- clutter/clutter-animator.c | 4 ++-- clutter/clutter-animator.h | 2 +- doc/reference/clutter/clutter-sections.txt | 2 +- tests/interactive/test-animator.c | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/clutter/clutter-animator.c b/clutter/clutter-animator.c index f85818c8e..864157f9d 100644 --- a/clutter/clutter-animator.c +++ b/clutter/clutter-animator.c @@ -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; diff --git a/clutter/clutter-animator.h b/clutter/clutter-animator.h index 0a549fa7f..94553575c 100644 --- a/clutter/clutter-animator.h +++ b/clutter/clutter-animator.h @@ -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, diff --git a/doc/reference/clutter/clutter-sections.txt b/doc/reference/clutter/clutter-sections.txt index 4dd9316b3..ea2b494b4 100644 --- a/doc/reference/clutter/clutter-sections.txt +++ b/doc/reference/clutter/clutter-sections.txt @@ -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 diff --git a/tests/interactive/test-animator.c b/tests/interactive/test-animator.c index a1c130bd7..48227bf35 100644 --- a/tests/interactive/test-animator.c +++ b/tests/interactive/test-animator.c @@ -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);