From a78443a1e48409d32eb2b24b52dad03ae2231e10 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Fri, 29 Aug 2014 15:12:31 -0400 Subject: [PATCH] Don't mark GThread struct as deprecated Having a definition of struct _GThread inside a deprecation ifdef confuses gtk-doc into marking it as deprecated. Avoid this. https://bugzilla.gnome.org//show_bug.cgi?id=735297 --- glib/deprecated/gthread.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/glib/deprecated/gthread.h b/glib/deprecated/gthread.h index dc631e6..4c7b304 100644 --- a/glib/deprecated/gthread.h +++ b/glib/deprecated/gthread.h @@ -43,6 +43,8 @@ typedef enum G_THREAD_PRIORITY_URGENT } GThreadPriority; +#endif + struct _GThread { /*< private >*/ @@ -52,6 +54,8 @@ struct _GThread GThreadPriority priority; }; +#ifndef G_DISABLE_DEPRECATED + typedef struct _GThreadFunctions GThreadFunctions; struct _GThreadFunctions { -- 2.7.4