summaryrefslogtreecommitdiff
path: root/glib/deprecated
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2014-02-01 20:43:01 -0500
committerMatthias Clasen <mclasen@redhat.com>2014-02-01 20:43:01 -0500
commit1c33c14c044ec3c3c14cb847e2112872f56aed36 (patch)
tree2b30246b63713a2f663cfda071dd6a89f09aa938 /glib/deprecated
parent6566f746f615673b2a6eeaf44d3e9c4373900c5a (diff)
downloadglib-1c33c14c044ec3c3c14cb847e2112872f56aed36.tar.gz
Add some more deprecation guards to shut up gtk-doc
Diffstat (limited to 'glib/deprecated')
-rw-r--r--glib/deprecated/gcache.h4
-rw-r--r--glib/deprecated/gmain.h3
-rw-r--r--glib/deprecated/gthread.h4
3 files changed, 11 insertions, 0 deletions
diff --git a/glib/deprecated/gcache.h b/glib/deprecated/gcache.h
index 1886f6bf4..5865978fb 100644
--- a/glib/deprecated/gcache.h
+++ b/glib/deprecated/gcache.h
@@ -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__ */
diff --git a/glib/deprecated/gmain.h b/glib/deprecated/gmain.h
index c2e31ff6d..453699d32 100644
--- a/glib/deprecated/gmain.h
+++ b/glib/deprecated/gmain.h
@@ -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
diff --git a/glib/deprecated/gthread.h b/glib/deprecated/gthread.h
index 9d1c685c5..dc631e64c 100644
--- a/glib/deprecated/gthread.h
+++ b/glib/deprecated/gthread.h
@@ -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__ */