mirror of
https://github.com/brl/mutter.git
synced 2024-12-23 11:32:04 +00:00
2007-10-09 Emmanuele Bassi <ebassi@openedhand.com>
* clutter/clutter-fixed.h: Add deprecation guards around CLUTTER_FIXED_INT().
This commit is contained in:
parent
1016f27ca8
commit
d0e46914c1
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user