summaryrefslogtreecommitdiff
path: root/mate-dictionary/libgdict/gdict-speller.c
diff options
context:
space:
mode:
Diffstat (limited to 'mate-dictionary/libgdict/gdict-speller.c')
-rw-r--r--mate-dictionary/libgdict/gdict-speller.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/mate-dictionary/libgdict/gdict-speller.c b/mate-dictionary/libgdict/gdict-speller.c
index 3c81074e..5f370ba8 100644
--- a/mate-dictionary/libgdict/gdict-speller.c
+++ b/mate-dictionary/libgdict/gdict-speller.c
@@ -173,7 +173,11 @@ gdict_speller_finalize (GObject *gobject)
set_gdict_context (speller, NULL);
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
g_free (priv->strategy);
g_free (priv->database);