summaryrefslogtreecommitdiff
path: root/capplets/about-me/mate-about-me-password.c
diff options
context:
space:
mode:
authormonsta <[email protected]>2016-01-15 12:04:22 +0300
committermonsta <[email protected]>2016-01-15 13:26:42 +0300
commit1fe15a165a60dc6d8cd93b7568f110c31b86ae70 (patch)
tree15bec65b76877e2cc07fa0a1250cb941ff45d3d6 /capplets/about-me/mate-about-me-password.c
parent3e1249a7c4236196b87c2ed0bc17ed1c5a635ff5 (diff)
downloadmate-control-center-1fe15a165a60dc6d8cd93b7568f110c31b86ae70.tar.bz2
mate-control-center-1fe15a165a60dc6d8cd93b7568f110c31b86ae70.tar.xz
[GTK+3] about-me: use g_object_unref instead of deprecated functions
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 */