From d62ddc374f88448fbde6db11ed4b10a594ecc5c4 Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Mon, 8 Feb 2010 17:37:00 +0000 Subject: [PATCH] docs: Fixes for ClutterAnimator --- clutter/clutter-animator.c | 2 +- clutter/clutter-animator.h | 16 ++++++++-------- doc/reference/clutter/clutter-sections.txt | 1 + 3 files changed, 10 insertions(+), 9 deletions(-) diff --git a/clutter/clutter-animator.c b/clutter/clutter-animator.c index ffabf9c..fc6eb89 100644 --- a/clutter/clutter-animator.c +++ b/clutter/clutter-animator.c @@ -59,7 +59,7 @@ * * * - * ClutterAnimator definition<title> + * <title>ClutterAnimator definition * The following JSON fragment defines a #ClutterAnimator * with the duration of 1 second and operating on the x and y * properties of a #ClutterActor named "rect-01", with two frames diff --git a/clutter/clutter-animator.h b/clutter/clutter-animator.h index 3d4e86d..8f2c3b0 100644 --- a/clutter/clutter-animator.h +++ b/clutter/clutter-animator.h @@ -59,8 +59,8 @@ typedef struct _ClutterAnimatorKey ClutterAnimatorKey; /** * ClutterInterpolation: - * @CLUTTER_INTERPOLATION_LINEAR: - * @CLUTTER_INTERPOLATION_CUBIC: + * @CLUTTER_INTERPOLATION_LINEAR: linear interpolation + * @CLUTTER_INTERPOLATION_CUBIC: cubic interpolation * * The mode of interpolation between key frames * @@ -154,12 +154,12 @@ void clutter_animator_property_set_interpolation (ClutterAnimato ClutterInterpolation interpolation); GType clutter_animator_key_get_type (void) G_GNUC_CONST; -GObject * clutter_animator_key_get_object (const ClutterAnimatorKey *animator_key); -G_CONST_RETURN gchar *clutter_animator_key_get_property_name (const ClutterAnimatorKey *animator_key); -GType clutter_animator_key_get_property_type (const ClutterAnimatorKey *animator_key); -gulong clutter_animator_key_get_mode (const ClutterAnimatorKey *animator_key); -gdouble clutter_animator_key_get_progress (const ClutterAnimatorKey *animator_key); -gboolean clutter_animator_key_get_value (const ClutterAnimatorKey *animator_key, +GObject * clutter_animator_key_get_object (const ClutterAnimatorKey *key); +G_CONST_RETURN gchar *clutter_animator_key_get_property_name (const ClutterAnimatorKey *key); +GType clutter_animator_key_get_property_type (const ClutterAnimatorKey *key); +gulong clutter_animator_key_get_mode (const ClutterAnimatorKey *key); +gdouble clutter_animator_key_get_progress (const ClutterAnimatorKey *key); +gboolean clutter_animator_key_get_value (const ClutterAnimatorKey *key, GValue *value); G_END_DECLS diff --git a/doc/reference/clutter/clutter-sections.txt b/doc/reference/clutter/clutter-sections.txt index 2000918..8e38916 100644 --- a/doc/reference/clutter/clutter-sections.txt +++ b/doc/reference/clutter/clutter-sections.txt @@ -2044,6 +2044,7 @@ clutter_animator_property_get_interpolation ClutterAnimatorKey clutter_animator_key_get_object clutter_animator_key_get_property_name +clutter_animator_key_get_property_type clutter_animator_key_get_mode clutter_animator_key_get_progress clutter_animator_key_get_value -- 2.7.4