From: Emmanuele Bassi Date: Mon, 8 Nov 2010 15:52:17 +0000 (+0000) Subject: timeout-pool: Deprecate the structure too X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=993d3b3fe196903d020f954f2ccce51458b3dd3a;p=profile%2Fivi%2Fclutter.git timeout-pool: Deprecate the structure too Don't leave it lying around, since nothing can use it anyway. --- diff --git a/clutter/clutter-timeout-pool.c b/clutter/clutter-timeout-pool.c index ccd4e91..6ac09a4 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 759a5dd..9204e44 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,