# HG changeset patch
# User Sean Egan <seanegan@gmail.com>
# Date 1180636089 0
# Node ID b23999491c6445659e87b3f1d03789964a9b0a73
# Parent  0dbb403c90163750aa3d15d6768dacfdca19bdfd# Parent  57e81bfeab3dd0523d06527e4cf98af6bbf5017b
merge of '8ae64558f2dc02cbc051dda2e2e6e4270b03f7f3'
     and 'c2025c2fd1fcbae580c830d05a4945eaa5192bd9'

diff -r 0dbb403c9016 -r b23999491c64 pidgin/gtkmain.c
--- a/pidgin/gtkmain.c	Thu May 31 03:02:13 2007 +0000
+++ b/pidgin/gtkmain.c	Thu May 31 18:28:09 2007 +0000
@@ -473,6 +473,9 @@
 #else
 	debug_enabled = FALSE;
 #endif
+
+	/* This is the first Glib function call. Make sure to initialize GThread bfeore then */
+	g_thread_init(NULL);
 	
 #ifdef ENABLE_NLS
 	bindtextdomain(PACKAGE, LOCALEDIR);