From 15c4e16f88090c6a809401ef5b32a19a1b2f9141 Mon Sep 17 00:00:00 2001 From: Sylvain Berfini <Sylvain.Berfini@belledonne-communications.com> Date: Wed, 8 Feb 2012 12:05:40 +0100 Subject: [PATCH] Wizard threads modified to work on Win32 --- gtk/setupwizard.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk/setupwizard.c b/gtk/setupwizard.c index f15befda71..56b5ded5f9 100644 --- a/gtk/setupwizard.c +++ b/gtk/setupwizard.c @@ -268,7 +268,7 @@ void* check_username_availability(void* w) { static void account_username_changed(GtkEntry *entry, GtkWidget *w) { // Verifying if username choosed is available, and if form is correctly filled, let the user go next page - g_thread_create(check_username_availability, (void*)w, FALSE, NULL); + gdk_threads_add_idle((GSourceFunc)check_username_availability, (void*)w); } static GtkWidget *create_account_information_page() { -- GitLab