[glib] Don't mark GThread struct as deprecated
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] Don't mark GThread struct as deprecated
- Date: Fri, 29 Aug 2014 19:16:15 +0000 (UTC)
commit a78443a1e48409d32eb2b24b52dad03ae2231e10
Author: Matthias Clasen <mclasen redhat com>
Date: Fri Aug 29 15:12:31 2014 -0400
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 files changed, 4 insertions(+), 0 deletions(-)
---
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
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]