From d0e46914c127a64483012cc92678cc30105b44f3 Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Tue, 9 Oct 2007 13:24:52 +0000 Subject: [PATCH] 2007-10-09 Emmanuele Bassi * clutter/clutter-fixed.h: Add deprecation guards around CLUTTER_FIXED_INT(). --- ChangeLog | 5 +++++ clutter/clutter-fixed.h | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/ChangeLog b/ChangeLog index 32a6fa4e5..95b4cab3d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2007-10-09 Emmanuele Bassi + + * clutter/clutter-fixed.h: Add deprecation guards around + CLUTTER_FIXED_INT(). + 2007-10-08 Emmanuele Bassi * clutter/clutter-script.c: Parse ClutterMargin and ClutterPadding diff --git a/clutter/clutter-fixed.h b/clutter/clutter-fixed.h index 0589bbb7f..109a16b71 100644 --- a/clutter/clutter-fixed.h +++ b/clutter/clutter-fixed.h @@ -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