changeset 19948:7dbeede6da97

Duplicate the fix from 33d699ec: do g_thread_init before using any other glib-function. References #3070.
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Wed, 12 Sep 2007 15:56:06 +0000
parents 6f4facc932b6
children 0633ecda7ed0
files finch/finch.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/finch/finch.c	Wed Sep 12 13:26:20 2007 +0000
+++ b/finch/finch.c	Wed Sep 12 15:56:06 2007 +0000
@@ -410,6 +410,8 @@
 {
 	signal(SIGPIPE, SIG_IGN);
 
+	g_thread_init(NULL);
+
 	g_set_prgname("Finch");
 #if GLIB_CHECK_VERSION(2,2,0)
 	g_set_application_name(_("Finch"));