animator: removed bogus arg in keys interpolation accessor

A bogus ClutterInterpolation argument had been carried from
clutter_animator_set_interpolation to clutter_animator_get_interpolation
in copy and paste.
This commit is contained in:
Øyvind Kolås 2010-02-25 11:28:32 +00:00
parent be8f53f229
commit e8d32fd153
2 changed files with 8 additions and 11 deletions

View File

@ -1579,7 +1579,6 @@ clutter_animator_property_set_ease_in (ClutterAnimator *animator,
* @animator: a #ClutterAnimatorKey * @animator: a #ClutterAnimatorKey
* @object: a #GObject * @object: a #GObject
* @property_name: the name of a property on object * @property_name: the name of a property on object
* @interpolation: the #ClutterInterpolation to use
* *
* Get the interpolation used by animator for a property on a particular * Get the interpolation used by animator for a property on a particular
* object. * object.
@ -1588,10 +1587,9 @@ clutter_animator_property_set_ease_in (ClutterAnimator *animator,
* Since: 1.2 * Since: 1.2
*/ */
ClutterInterpolation ClutterInterpolation
clutter_animator_property_get_interpolation (ClutterAnimator *animator, clutter_animator_property_get_interpolation (ClutterAnimator *animator,
GObject *object, GObject *object,
const gchar *property_name, const gchar *property_name)
ClutterInterpolation interpolation)
{ {
GList *initial; GList *initial;
ClutterAnimatorKey key, *initial_key; ClutterAnimatorKey key, *initial_key;
@ -1631,10 +1629,10 @@ clutter_animator_property_get_interpolation (ClutterAnimator *animator,
* Since: 1.2 * Since: 1.2
*/ */
void void
clutter_animator_property_set_interpolation (ClutterAnimator *animator, clutter_animator_property_set_interpolation (ClutterAnimator *animator,
GObject *object, GObject *object,
const gchar *property_name, const gchar *property_name,
ClutterInterpolation interpolation) ClutterInterpolation interpolation)
{ {
GList *initial; GList *initial;
ClutterAnimatorKey key, *initial_key; ClutterAnimatorKey key, *initial_key;

View File

@ -146,8 +146,7 @@ void clutter_animator_property_set_ease_in (ClutterAnimato
ClutterInterpolation clutter_animator_property_get_interpolation (ClutterAnimator *animator, ClutterInterpolation clutter_animator_property_get_interpolation (ClutterAnimator *animator,
GObject *object, GObject *object,
const gchar *property_name, const gchar *property_name);
ClutterInterpolation interpolation);
void clutter_animator_property_set_interpolation (ClutterAnimator *animator, void clutter_animator_property_set_interpolation (ClutterAnimator *animator,
GObject *object, GObject *object,
const gchar *property_name, const gchar *property_name,