common: remove the use of the GDK thread functions
Remove the use of gdk_threads_enter and gdk_threads_leave functions, as they have been deprecated, and also replace gdk_threads_add_idle with g_idle_add. https://bugzilla.gnome.org/show_bug.cgi?id=688231
This commit is contained in:
parent
288c3f8309
commit
7dab589e9e
2 changed files with 1 additions and 5 deletions
|
@ -308,7 +308,7 @@ cc_common_language_add_available_languages (GtkListStore *store,
|
|||
data->regions = regions;
|
||||
data->position = 0;
|
||||
|
||||
return gdk_threads_add_idle (add_one_language, data);
|
||||
return g_idle_add (add_one_language, data);
|
||||
}
|
||||
|
||||
gchar *
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue