From 1fe15a165a60dc6d8cd93b7568f110c31b86ae70 Mon Sep 17 00:00:00 2001 From: monsta Date: Fri, 15 Jan 2016 12:04:22 +0300 Subject: [GTK+3] about-me: use g_object_unref instead of deprecated functions --- capplets/about-me/mate-about-me-password.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'capplets/about-me/mate-about-me-password.c') 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 */ -- cgit v1.2.1