2008-04-28 Emmanuele Bassi <ebassi@openedhand.com>

* clutter/clutter-units.c (param_unit_init): Use the right
	macros to set the default minimum and maximum values.

	* clutter/clutter-fixed.c (param_fixed_init): Ditto as above.
This commit is contained in:
Emmanuele Bassi 2008-04-28 13:37:28 +00:00
parent 2b80688cfe
commit a7f4767ecb
3 changed files with 137 additions and 130 deletions

View File

@ -1,3 +1,10 @@
2008-04-28 Emmanuele Bassi <ebassi@openedhand.com>
* clutter/clutter-units.c (param_unit_init): Use the right
macros to set the default minimum and maximum values.
* clutter/clutter-fixed.c (param_fixed_init): Ditto as above.
2008-04-28 Matthew Allum <mallum@openedhand.com> 2008-04-28 Matthew Allum <mallum@openedhand.com>
* autogen.sh: * autogen.sh:

View File

@ -1128,8 +1128,8 @@ param_fixed_init (GParamSpec *pspec)
{ {
ClutterParamSpecFixed *fspec = CLUTTER_PARAM_SPEC_FIXED (pspec); ClutterParamSpecFixed *fspec = CLUTTER_PARAM_SPEC_FIXED (pspec);
fspec->minimum = -G_MAXINT32; fspec->minimum = CLUTTER_MINFIXED;
fspec->maximum = G_MAXINT32; fspec->maximum = CLUTTER_MAXFIXED;
fspec->default_value = 0; fspec->default_value = 0;
} }

View File

@ -189,8 +189,8 @@ param_unit_init (GParamSpec *pspec)
{ {
ClutterParamSpecUnit *uspec = CLUTTER_PARAM_SPEC_UNIT (pspec); ClutterParamSpecUnit *uspec = CLUTTER_PARAM_SPEC_UNIT (pspec);
uspec->minimum = -G_MAXINT32; uspec->minimum = CLUTTER_MINUNIT;
uspec->maximum = G_MAXINT32; uspec->maximum = CLUTTER_MAXUNIT;
uspec->default_value = 0; uspec->default_value = 0;
} }