From 57d9f33e253493cdd1b58dcb0c825181bd23f42b Mon Sep 17 00:00:00 2001
From: Simon Morlat <simon.morlat@linphone.org>
Date: Tue, 10 Jul 2012 10:13:31 +0200
Subject: [PATCH] fix double g_thread initialization in wizard

---
 gtk/setupwizard.c | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/gtk/setupwizard.c b/gtk/setupwizard.c
index ae1bcfa6a0..39673da99b 100644
--- a/gtk/setupwizard.c
+++ b/gtk/setupwizard.c
@@ -538,11 +538,6 @@ GtkWidget * linphone_gtk_create_assistant(void){
 	ok = create_pixbuf(linphone_gtk_get_ui_config("ok","ok.png"));
 	notok = create_pixbuf(linphone_gtk_get_ui_config("notok","notok.png"));
 
-#if !GLIB_CHECK_VERSION(2, 31, 0)
-	g_thread_init (NULL);
-#endif
-	gdk_threads_init ();
-
 	GtkWidget *p1=create_intro();
 	GtkWidget *p2=create_setup_signin_choice();
 	GtkWidget *p31=create_account_informations_page();
@@ -605,3 +600,4 @@ GtkWidget * linphone_gtk_create_assistant(void){
 
 	return w;
 }
+
-- 
GitLab