mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-26 07:26:15 +01:00
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:
parent
325ffb376c
commit
a78443a1e4
@ -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
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user