diff options
author | raveit65 <[email protected]> | 2016-06-17 11:12:39 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2016-06-17 11:34:11 +0200 |
commit | 484941aa39b93056f7f491bb7d63c7796011959a (patch) | |
tree | b9d03694ff515a6d6aecbc923779de680a067572 /capplets | |
parent | b09a581c6edd020a6dd88ca713642b6f0ba1faf4 (diff) | |
download | mate-control-center-484941aa39b93056f7f491bb7d63c7796011959a.tar.bz2 mate-control-center-484941aa39b93056f7f491bb7d63c7796011959a.tar.xz |
GTK+-3 theme-installer: do not use deprecated gdk_threads_{enter/leave} ()
Diffstat (limited to 'capplets')
-rw-r--r-- | capplets/appearance/theme-installer.c | 4 |
1 files changed, 4 insertions, 0 deletions
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 |