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:
parent
2b80688cfe
commit
a7f4767ecb
@ -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:
|
||||||
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user