diff pidgin/gtkmain.c @ 17712:43a55528ff26

propagate from branch 'im.pidgin.pidgin' (head b5c55520ae8ff7186733fd82db23a6e4452976cc) to branch 'im.pidgin.soc.2007.finchfeat' (head 93037197c5356731d62e75b4050ca7d01b1017d6)
author Eric Polino <aluink@pidgin.im>
date Mon, 04 Jun 2007 15:12:50 +0000
parents 57e81bfeab3d
children 1f060ef64f77 fbebe15c91a7 295777a9e2a4
line wrap: on
line diff
--- a/pidgin/gtkmain.c	Mon Jun 04 05:05:42 2007 +0000
+++ b/pidgin/gtkmain.c	Mon Jun 04 15:12:50 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);