diff libgaim/win32/win32dep.c @ 14722:51685370de57

[gaim-migrate @ 17476] Implement the network manager stuff for wingaim. Also, fix some assertions and fix the freeing of the autorecon data without removing it from the hash. committer: Tailor Script <tailor@pidgin.im>
author Daniel Atallah <daniel.atallah@gmail.com>
date Fri, 13 Oct 2006 02:31:36 +0000
parents 7635195195c0
children 95246f6b6414
line wrap: on
line diff
--- a/libgaim/win32/win32dep.c	Fri Oct 13 00:37:44 2006 +0000
+++ b/libgaim/win32/win32dep.c	Fri Oct 13 02:31:36 2006 +0000
@@ -444,6 +444,9 @@
 		gaim_debug(GAIM_DEBUG_WARNING, "wgaim", "putenv failed\n");
 	g_free(newenv);
 
+	if (!g_thread_supported())
+		g_thread_init(NULL);
+
 	gaim_debug(GAIM_DEBUG_INFO, "wgaim", "wgaim_init end\n");
 }