changeset 16948:74957a0aa633

merge of '33d699ecd89d879c191e545fe83b8f7b6f8ce58f' and '4b13951978cab32b69b301f7bba471e1f25e1776'
author Daniel Atallah <daniel.atallah@gmail.com>
date Tue, 08 May 2007 18:33:11 +0000
parents 46985e1ae76a (diff) 84b7a625512e (current diff)
children 30b906ba3974
files
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/pidgin/gtkmain.c	Tue May 08 15:08:23 2007 +0000
+++ b/pidgin/gtkmain.c	Tue May 08 18:33:11 2007 +0000
@@ -474,6 +474,9 @@
 	debug_enabled = FALSE;
 #endif
 
+	/* This is the first Glib function call. Make sure to initialize GThread bfeore then */
+	g_thread_init(NULL);
+	
 #ifdef PURPLE_FATAL_ASSERTS
 	/* Make g_return_... functions fatal. */
 	g_log_set_always_fatal(G_LOG_LEVEL_CRITICAL);