2007-10-09 Emmanuele Bassi <ebassi@openedhand.com>

* clutter/clutter-fixed.h: Add deprecation guards around
	CLUTTER_FIXED_INT().
This commit is contained in:
Emmanuele Bassi 2007-10-09 13:24:52 +00:00
parent 1016f27ca8
commit d0e46914c1
2 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2007-10-09 Emmanuele Bassi <ebassi@openedhand.com>
* clutter/clutter-fixed.h: Add deprecation guards around
CLUTTER_FIXED_INT().
2007-10-08 Emmanuele Bassi <ebassi@openedhand.com>
* clutter/clutter-script.c: Parse ClutterMargin and ClutterPadding

View File

@ -211,6 +211,8 @@ typedef gint32 ClutterAngle; /* angle such that 1024 == 2*PI */
*/
#define CLUTTER_FIXED_TO_INT(x) ((x) >> CFX_Q)
#ifndef CLUTTER_DISABLE_DEPRECATED
/**
* CLUTTER_FIXED_INT:
* @x: a fixed point value
@ -221,6 +223,8 @@ typedef gint32 ClutterAngle; /* angle such that 1024 == 2*PI */
*/
#define CLUTTER_FIXED_INT(x) CLUTTER_FIXED_TO_INT((x))
#endif /* !CLUTTER_DISABLE_DEPRECATED */
/**
* CLUTTER_FIXED_FRACTION:
* @x: a fixed point value