[glib] win32: Remove some debug spew on startup
- From: Alexander Larsson <alexl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] win32: Remove some debug spew on startup
- Date: Thu, 3 Nov 2011 16:29:09 +0000 (UTC)
commit 41b8ce7100fa5fa4ecb01555e52b3664bcc41b28
Author: Alexander Larsson <alexl redhat com>
Date: Thu Nov 3 17:27:08 2011 +0100
win32: Remove some debug spew on startup
This is not needed anymore and was causing problems for pkg-config.
glib/gthread-win32.c | 9 ++-------
1 files changed, 2 insertions(+), 7 deletions(-)
---
diff --git a/glib/gthread-win32.c b/glib/gthread-win32.c
index 96c6a1c..dd777c2 100644
--- a/glib/gthread-win32.c
+++ b/glib/gthread-win32.c
@@ -963,13 +963,8 @@ g_thread_lookup_native_funcs (void)
G_GNUC_INTERNAL void
g_thread_win32_init (void)
{
- if (g_thread_lookup_native_funcs ())
- fprintf (stderr, "(debug) GThread using native mode\n");
- else
- {
- fprintf (stderr, "(debug) GThread using Windows XP mode\n");
- g_thread_xp_init ();
- }
+ if (!g_thread_lookup_native_funcs ())
+ g_thread_xp_init ();
InitializeCriticalSection (&g_private_lock);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]