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.
This commit is contained in:
Emmanuele Bassi 2008-12-15 14:29:59 +00:00
parent b2f4363d95
commit f6feed4386

View File

@ -344,12 +344,12 @@ clutter_param_fixed_get_type (void)
* Since: 0.8 * Since: 0.8
*/ */
GParamSpec * GParamSpec *
clutter_param_spec_fixed (const gchar *name, clutter_param_spec_fixed (const gchar *name,
const gchar *nick, const gchar *nick,
const gchar *blurb, const gchar *blurb,
ClutterUnit minimum, ClutterFixed minimum,
ClutterUnit maximum, ClutterFixed maximum,
ClutterUnit default_value, ClutterFixed default_value,
GParamFlags flags) GParamFlags flags)
{ {
ClutterParamSpecFixed *fspec; ClutterParamSpecFixed *fspec;