summaryrefslogtreecommitdiff
path: root/capplets/about-me/mate-about-me-password.c
diff options
context:
space:
mode:
Diffstat (limited to 'capplets/about-me/mate-about-me-password.c')
-rw-r--r--capplets/about-me/mate-about-me-password.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/capplets/about-me/mate-about-me-password.c b/capplets/about-me/mate-about-me-password.c
index e34c8662..567ef94e 100644
--- a/capplets/about-me/mate-about-me-password.c
+++ b/capplets/about-me/mate-about-me-password.c
@@ -685,7 +685,11 @@ passdlg_set_busy (PasswordDialog *pdialog, gboolean busy)
gdk_display_flush (display);
if (busy) {
+#if GTK_CHECK_VERSION (3, 0, 0)
+ g_object_unref (cursor);
+#else
gdk_cursor_unref (cursor);
+#endif
}
/* Disable/Enable UI */