From: Matthias Clasen Date: Sun, 17 Aug 2008 01:36:16 +0000 (+0000) Subject: Bug 460920 – build fix for --disable-threads X-Git-Url: http://git.openbox.org/?a=commitdiff_plain;h=2aa068476a5f9db27a31ce738aabb4b0f8cdbe3e;p=dana%2Fcg-glib.git Bug 460920 – build fix for --disable-threads * gthread-impl.c: Implement g_thread_init_with_errorcheck_mutexes in the !G_THREAD_ENABLED case. Pointed out by Jan Nieuwenhuizen svn path=/trunk/; revision=7364 --- diff --git a/gthread/ChangeLog b/gthread/ChangeLog index 40969be8..252d4ffc 100644 --- a/gthread/ChangeLog +++ b/gthread/ChangeLog @@ -1,3 +1,10 @@ +2008-08-04 Matthias Clasen + + Bug 460920 – build fix for --disable-threads + + * gthread-impl.c: Implement g_thread_init_with_errorcheck_mutexes + in the !G_THREAD_ENABLED case. Pointed out by Jan Nieuwenhuizen + 2008-08-04 Matthias Clasen * === Released 2.17.6 === diff --git a/gthread/gthread-impl.c b/gthread/gthread-impl.c index 64590773..24eb3c48 100644 --- a/gthread/gthread-impl.c +++ b/gthread/gthread-impl.c @@ -363,4 +363,10 @@ g_thread_init (GThreadFunctions* init) g_error ("GLib thread support is disabled."); } +void +g_thread_init_with_errorcheck_mutexes (GThreadFunctions* init) +{ + g_error ("GLib thread support is disabled."); +} + #endif /* !G_THREADS_ENABLED */