mirror of
https://github.com/brl/mutter.git
synced 2024-12-27 13:22:15 +00:00
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:
parent
a432d9973d
commit
9ac2f5cba5
@ -365,6 +365,8 @@ clutter_timeout_pool_finalize (GSource *source)
|
||||
* the destruction of the timeout pool using g_source_destroy()
|
||||
*
|
||||
* Since: 0.4
|
||||
*
|
||||
* Deprecated: 1.6
|
||||
*/
|
||||
ClutterTimeoutPool *
|
||||
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.
|
||||
*
|
||||
* Since: 0.4
|
||||
*
|
||||
* Deprecated: 1.6
|
||||
*/
|
||||
guint
|
||||
clutter_timeout_pool_add (ClutterTimeoutPool *pool,
|
||||
@ -456,6 +460,8 @@ clutter_timeout_pool_add (ClutterTimeoutPool *pool,
|
||||
* clutter_timeout_pool_add().
|
||||
*
|
||||
* Since: 0.4
|
||||
*
|
||||
* Deprecated: 1.6
|
||||
*/
|
||||
void
|
||||
clutter_timeout_pool_remove (ClutterTimeoutPool *pool,
|
||||
|
@ -46,9 +46,13 @@ G_BEGIN_DECLS
|
||||
* whose members cannot be directly accessed.
|
||||
*
|
||||
* Since: 0.6
|
||||
*
|
||||
* Deprecated: 1.6
|
||||
*/
|
||||
typedef struct _ClutterTimeoutPool ClutterTimeoutPool;
|
||||
|
||||
#ifndef CLUTTER_DISABLE_DEPRECATED
|
||||
|
||||
ClutterTimeoutPool *clutter_timeout_pool_new (gint priority);
|
||||
guint clutter_timeout_pool_add (ClutterTimeoutPool *pool,
|
||||
guint fps,
|
||||
@ -58,6 +62,8 @@ guint clutter_timeout_pool_add (ClutterTimeoutPool *pool,
|
||||
void clutter_timeout_pool_remove (ClutterTimeoutPool *pool,
|
||||
guint id);
|
||||
|
||||
#endif /* CLUTTER_DISABLE_DEPRECATED */
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __CLUTTER_TIMEOUT_POOL_H__ */
|
||||
|
Loading…
Reference in New Issue
Block a user