projects
/
platform
/
upstream
/
glib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
325ffb3
)
Don't mark GThread struct as deprecated
author
Matthias Clasen
<mclasen@redhat.com>
Fri, 29 Aug 2014 19:12:31 +0000
(15:12 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Fri, 29 Aug 2014 19:12:31 +0000
(15:12 -0400)
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
patch
|
blob
|
history
diff --git
a/glib/deprecated/gthread.h
b/glib/deprecated/gthread.h
index
dc631e6
..
4c7b304
100644
(file)
--- 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
{