summaryrefslogtreecommitdiff
path: root/mate-dictionary/libgdict/gdict-strategy-chooser.c
diff options
context:
space:
mode:
Diffstat (limited to 'mate-dictionary/libgdict/gdict-strategy-chooser.c')
-rw-r--r--mate-dictionary/libgdict/gdict-strategy-chooser.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/mate-dictionary/libgdict/gdict-strategy-chooser.c b/mate-dictionary/libgdict/gdict-strategy-chooser.c
index 9cabc445..375c2aaf 100644
--- a/mate-dictionary/libgdict/gdict-strategy-chooser.c
+++ b/mate-dictionary/libgdict/gdict-strategy-chooser.c
@@ -176,7 +176,11 @@ gdict_strategy_chooser_dispose (GObject *gobject)
if (priv->busy_cursor)
{
+#if GTK_CHECK_VERSION (3, 0, 0)
+ g_object_unref (priv->busy_cursor);
+#else
gdk_cursor_unref (priv->busy_cursor);
+#endif
priv->busy_cursor = NULL;
}