1
0
Fork 0

2008-07-30 Emmanuele Bassi <ebassi@openedhand.com>

* clutter/clutter-fixed.h:
	* clutter/clutter-units.h: Fix the upper and lower boundaries of
	ClutterFixed and ClutterUnit types; G_MAXINT16 and G_MININT16
	were not enough to describe those values.
This commit is contained in:
Emmanuele Bassi 2008-07-30 15:47:43 +00:00
parent 56be7fb7ea
commit ba257b0196
3 changed files with 11 additions and 4 deletions

View file

@ -1,3 +1,10 @@
2008-07-30 Emmanuele Bassi <ebassi@openedhand.com>
* clutter/clutter-fixed.h:
* clutter/clutter-units.h: Fix the upper and lower boundaries of
ClutterFixed and ClutterUnit types; G_MAXINT16 and G_MININT16
were not enough to describe those values.
2008-07-30 Ross Burton <ross@openedhand.com>
* clutter/clutter-main.c:

View file

@ -435,7 +435,7 @@ typedef struct _ClutterParamSpecFixed ClutterParamSpecFixed;
*
* Since: 0.8
*/
#define CLUTTER_MAXFIXED G_MAXINT16
#define CLUTTER_MAXFIXED CFX_MAX
/**
* CLUTTER_MINFIXED:
@ -444,7 +444,7 @@ typedef struct _ClutterParamSpecFixed ClutterParamSpecFixed;
*
* Since: 0.8
*/
#define CLUTTER_MINFIXED G_MININT16
#define CLUTTER_MINFIXED CFX_MIN
/**
* ClutterParamSpecFixed

View file

@ -152,7 +152,7 @@ typedef gint32 ClutterUnit;
*
* Since: 0.8
*/
#define CLUTTER_MAXUNIT G_MAXINT16
#define CLUTTER_MAXUNIT (0x7fffffff)
/**
* CLUTTER_MINUNIT:
@ -161,7 +161,7 @@ typedef gint32 ClutterUnit;
*
* Since: 0.8
*/
#define CLUTTER_MINUNIT G_MININT16
#define CLUTTER_MINUNIT (0x80000000)
/**
* CLUTTER_VALUE_HOLDS_UNIT: