From: Matthias Clasen Date: Fri, 29 Aug 2014 19:12:31 +0000 (-0400) Subject: Don't mark GThread struct as deprecated X-Git-Tag: 2.41.4~4 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a78443a1e48409d32eb2b24b52dad03ae2231e10;p=platform%2Fupstream%2Fglib.git 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 --- 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 {