From 484941aa39b93056f7f491bb7d63c7796011959a Mon Sep 17 00:00:00 2001 From: raveit65 Date: Fri, 17 Jun 2016 11:12:39 +0200 Subject: GTK+-3 theme-installer: do not use deprecated gdk_threads_{enter/leave} () --- capplets/appearance/theme-installer.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'capplets/appearance') diff --git a/capplets/appearance/theme-installer.c b/capplets/appearance/theme-installer.c index 9630d98d..20b89e59 100644 --- a/capplets/appearance/theme-installer.c +++ b/capplets/appearance/theme-installer.c @@ -628,7 +628,9 @@ static void transfer_done_cb (GtkWidget *dialog, TransferData *tdata) { +#if !GTK_CHECK_VERSION (3, 0, 0) gdk_threads_enter (); +#endif /* XXX: path should be on the local filesystem by now? */ if (dialog != NULL) { @@ -640,7 +642,9 @@ transfer_done_cb (GtkWidget *dialog, g_free (tdata->path); g_free (tdata); +#if !GTK_CHECK_VERSION (3, 0, 0) gdk_threads_leave (); +#endif } void -- cgit v1.2.1