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,