summaryrefslogtreecommitdiff
path: root/gthread
diff options
context:
space:
mode:
authorRyan Lortie <desrt@desrt.ca>2011-10-16 21:50:26 -0400
committerRyan Lortie <desrt@desrt.ca>2011-10-16 21:50:26 -0400
commita6d9cf3380a3be9ea518227cba3c571726bb99c6 (patch)
tree99b1771788ae0a301eaa2a1e4f5351350612c22a /gthread
parent3eec796b18e56351638cc6c0c03ab481618d0e29 (diff)
downloadglib-a6d9cf3380a3be9ea518227cba3c571726bb99c6.tar.gz
gthread/: fix up declarations
g_thread_init() is now a deprecated API, so drop G_DISABLE_DEPRECATED from the CFLAGS for gthread/. Add the missing declaration for g_thread_init_with_errorcheck_mutexes() back to deprecated/gthread.h.
Diffstat (limited to 'gthread')
-rw-r--r--gthread/Makefile.am3
-rw-r--r--gthread/gthread-impl.c2
2 files changed, 2 insertions, 3 deletions
diff --git a/gthread/Makefile.am b/gthread/Makefile.am
index 7ff1c5b74..4cf4df050 100644
--- a/gthread/Makefile.am
+++ b/gthread/Makefile.am
@@ -6,8 +6,7 @@ AM_CPPFLAGS = \
-DG_LOG_DOMAIN=\"GThread\" \
-DGLIB_COMPILATION \
@GTHREAD_COMPILE_IMPL_DEFINES@ \
- @GLIB_DEBUG_FLAGS@ \
- -DG_DISABLE_DEPRECATED
+ @GLIB_DEBUG_FLAGS@
EXTRA_DIST += \
makefile.msc.in \
diff --git a/gthread/gthread-impl.c b/gthread/gthread-impl.c
index b0480ea4d..fd03b1d68 100644
--- a/gthread/gthread-impl.c
+++ b/gthread/gthread-impl.c
@@ -31,7 +31,7 @@
* MT safe
*/
-#include "glib.h"
+#include <glib.h>
void
g_thread_init (gpointer init)