summaryrefslogtreecommitdiff
path: root/mate-dictionary/src/gdict-window.c
diff options
context:
space:
mode:
authormonsta <[email protected]>2016-01-22 11:39:41 +0300
committermonsta <[email protected]>2016-01-22 11:53:21 +0300
commit386f747d82bdd2607896a1c80dff5dfaaec1aa23 (patch)
tree47b7679a5bdcd98a2c7c1ebbc97a3cf47738a581 /mate-dictionary/src/gdict-window.c
parente5a2a7363348f8db0a581a5b9c3c8872e82c4312 (diff)
downloadmate-utils-386f747d82bdd2607896a1c80dff5dfaaec1aa23.tar.bz2
mate-utils-386f747d82bdd2607896a1c80dff5dfaaec1aa23.tar.xz
[GTK+3] dictionary: fix some deprecations
Diffstat (limited to 'mate-dictionary/src/gdict-window.c')
-rw-r--r--mate-dictionary/src/gdict-window.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/mate-dictionary/src/gdict-window.c b/mate-dictionary/src/gdict-window.c
index a935f895..46fd3f27 100644
--- a/mate-dictionary/src/gdict-window.c
+++ b/mate-dictionary/src/gdict-window.c
@@ -188,7 +188,11 @@ gdict_window_dispose (GObject *gobject)
if (window->busy_cursor)
{
+#if GTK_CHECK_VERSION (3, 0, 0)
+ g_object_unref (window->busy_cursor);
+#else
gdk_cursor_unref (window->busy_cursor);
+#endif
window->busy_cursor = NULL;
}