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
This commit is contained in:
Matthias Clasen 2014-08-29 15:12:31 -04:00
parent 325ffb376c
commit a78443a1e4

View File

@ -43,6 +43,8 @@ typedef enum
G_THREAD_PRIORITY_URGENT G_THREAD_PRIORITY_URGENT
} GThreadPriority; } GThreadPriority;
#endif
struct _GThread struct _GThread
{ {
/*< private >*/ /*< private >*/
@ -52,6 +54,8 @@ struct _GThread
GThreadPriority priority; GThreadPriority priority;
}; };
#ifndef G_DISABLE_DEPRECATED
typedef struct _GThreadFunctions GThreadFunctions; typedef struct _GThreadFunctions GThreadFunctions;
struct _GThreadFunctions struct _GThreadFunctions
{ {