Add some more deprecation guards to shut up gtk-doc

This commit is contained in:
Matthias Clasen 2014-02-01 20:43:01 -05:00
parent 6566f746f6
commit 1c33c14c04
3 changed files with 11 additions and 0 deletions

View File

@ -33,6 +33,8 @@
G_BEGIN_DECLS
#ifndef G_DISABLE_DEPRECATED
typedef struct _GCache GCache;
typedef gpointer (*GCacheNewFunc) (gpointer key);
@ -66,6 +68,8 @@ void g_cache_value_foreach (GCache *cache,
GHFunc func,
gpointer user_data);
#endif
G_END_DECLS
#endif /* __G_CACHE_H__ */

View File

@ -33,6 +33,8 @@
G_BEGIN_DECLS
#ifndef G_DISABLE_DEPRECATED
/* ============== Compat main loop stuff ================== */
/**
@ -130,6 +132,7 @@ G_BEGIN_DECLS
*/
#define g_main_set_poll_func(func) g_main_context_set_poll_func (NULL, func)
#endif
G_END_DECLS

View File

@ -33,6 +33,8 @@
G_BEGIN_DECLS
#ifndef G_DISABLE_DEPRECATED
typedef enum
{
G_THREAD_PRIORITY_LOW,
@ -280,6 +282,8 @@ gboolean g_cond_timed_wait (GCond *cond,
GMutex *mutex,
GTimeVal *timeval);
#endif
G_END_DECLS
#endif /* __G_DEPRECATED_THREAD_H__ */