summaryrefslogtreecommitdiff
path: root/mate-dictionary/libgdict/gdict-database-chooser.c
diff options
context:
space:
mode:
Diffstat (limited to 'mate-dictionary/libgdict/gdict-database-chooser.c')
-rw-r--r--mate-dictionary/libgdict/gdict-database-chooser.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/mate-dictionary/libgdict/gdict-database-chooser.c b/mate-dictionary/libgdict/gdict-database-chooser.c
index 11cc80ce..abf5f86e 100644
--- a/mate-dictionary/libgdict/gdict-database-chooser.c
+++ b/mate-dictionary/libgdict/gdict-database-chooser.c
@@ -190,7 +190,11 @@ gdict_database_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;
}