From 993d3b3fe196903d020f954f2ccce51458b3dd3a Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Mon, 8 Nov 2010 15:52:17 +0000 Subject: [PATCH] timeout-pool: Deprecate the structure too Don't leave it lying around, since nothing can use it anyway. --- clutter/clutter-timeout-pool.c | 4 +++- clutter/clutter-timeout-pool.h | 4 ++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/clutter/clutter-timeout-pool.c b/clutter/clutter-timeout-pool.c index ccd4e9137..6ac09a471 100644 --- a/clutter/clutter-timeout-pool.c +++ b/clutter/clutter-timeout-pool.c @@ -34,8 +34,10 @@ #include "config.h" #endif -#include "clutter-debug.h" +#undef CLUTTER_DISABLE_DEPRECATED #include "clutter-timeout-pool.h" + +#include "clutter-debug.h" #include "clutter-timeout-interval.h" typedef struct _ClutterTimeout ClutterTimeout; diff --git a/clutter/clutter-timeout-pool.h b/clutter/clutter-timeout-pool.h index 759a5dda0..9204e44d5 100644 --- a/clutter/clutter-timeout-pool.h +++ b/clutter/clutter-timeout-pool.h @@ -39,6 +39,8 @@ G_BEGIN_DECLS +#ifndef CLUTTER_DISABLE_DEPRECATED + /** * ClutterTimeoutPool: (skip) * @@ -51,8 +53,6 @@ G_BEGIN_DECLS */ typedef struct _ClutterTimeoutPool ClutterTimeoutPool; -#ifndef CLUTTER_DISABLE_DEPRECATED - ClutterTimeoutPool *clutter_timeout_pool_new (gint priority); guint clutter_timeout_pool_add (ClutterTimeoutPool *pool, guint fps,