From f6feed43863f6c42d6204e5006f92937a0709756 Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Mon, 15 Dec 2008 14:29:59 +0000 Subject: [PATCH] Fix a typo in the ClutterParamSpecFixed declaration The ClutterParamSpecFixed constructor is declared in the header as taking ClutterFixed values, but the implementation takes ClutterUnit values instead. This obviously works because fixed and units are exactly the same type. This commit fixes the wrong parameters. --- clutter/clutter-fixed.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/clutter/clutter-fixed.c b/clutter/clutter-fixed.c index 1cce0dbef..af616e6fe 100644 --- a/clutter/clutter-fixed.c +++ b/clutter/clutter-fixed.c @@ -344,12 +344,12 @@ clutter_param_fixed_get_type (void) * Since: 0.8 */ GParamSpec * -clutter_param_spec_fixed (const gchar *name, - const gchar *nick, - const gchar *blurb, - ClutterUnit minimum, - ClutterUnit maximum, - ClutterUnit default_value, +clutter_param_spec_fixed (const gchar *name, + const gchar *nick, + const gchar *blurb, + ClutterFixed minimum, + ClutterFixed maximum, + ClutterFixed default_value, GParamFlags flags) { ClutterParamSpecFixed *fspec;