diff --git a/gtk/setupwizard.c b/gtk/setupwizard.c index f15befda717b9e778ff7ec2ed28dc6114f204263..56b5ded5f97c1f3a82f59247697b26a81558d12e 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() {