Deprecate ClutterTimeoutPool

Timelines have stopped using the pool since 1.0; there is no real reason
to expose it as part of the active API.
This commit is contained in:
Emmanuele Bassi 2010-11-06 19:59:58 +00:00
parent a432d9973d
commit 9ac2f5cba5
2 changed files with 12 additions and 0 deletions

View File

@ -365,6 +365,8 @@ clutter_timeout_pool_finalize (GSource *source)
* the destruction of the timeout pool using g_source_destroy() * the destruction of the timeout pool using g_source_destroy()
* *
* Since: 0.4 * Since: 0.4
*
* Deprecated: 1.6
*/ */
ClutterTimeoutPool * ClutterTimeoutPool *
clutter_timeout_pool_new (gint priority) clutter_timeout_pool_new (gint priority)
@ -421,6 +423,8 @@ clutter_timeout_pool_new (gint priority)
* Use clutter_timeout_pool_remove() to stop the timeout. * Use clutter_timeout_pool_remove() to stop the timeout.
* *
* Since: 0.4 * Since: 0.4
*
* Deprecated: 1.6
*/ */
guint guint
clutter_timeout_pool_add (ClutterTimeoutPool *pool, clutter_timeout_pool_add (ClutterTimeoutPool *pool,
@ -456,6 +460,8 @@ clutter_timeout_pool_add (ClutterTimeoutPool *pool,
* clutter_timeout_pool_add(). * clutter_timeout_pool_add().
* *
* Since: 0.4 * Since: 0.4
*
* Deprecated: 1.6
*/ */
void void
clutter_timeout_pool_remove (ClutterTimeoutPool *pool, clutter_timeout_pool_remove (ClutterTimeoutPool *pool,

View File

@ -46,9 +46,13 @@ G_BEGIN_DECLS
* whose members cannot be directly accessed. * whose members cannot be directly accessed.
* *
* Since: 0.6 * Since: 0.6
*
* Deprecated: 1.6
*/ */
typedef struct _ClutterTimeoutPool ClutterTimeoutPool; typedef struct _ClutterTimeoutPool ClutterTimeoutPool;
#ifndef CLUTTER_DISABLE_DEPRECATED
ClutterTimeoutPool *clutter_timeout_pool_new (gint priority); ClutterTimeoutPool *clutter_timeout_pool_new (gint priority);
guint clutter_timeout_pool_add (ClutterTimeoutPool *pool, guint clutter_timeout_pool_add (ClutterTimeoutPool *pool,
guint fps, guint fps,
@ -58,6 +62,8 @@ guint clutter_timeout_pool_add (ClutterTimeoutPool *pool,
void clutter_timeout_pool_remove (ClutterTimeoutPool *pool, void clutter_timeout_pool_remove (ClutterTimeoutPool *pool,
guint id); guint id);
#endif /* CLUTTER_DISABLE_DEPRECATED */
G_END_DECLS G_END_DECLS
#endif /* __CLUTTER_TIMEOUT_POOL_H__ */ #endif /* __CLUTTER_TIMEOUT_POOL_H__ */