[gnome-color-manager] Fix GTK3 API break; gdk_cursor_unref() no longer exists



commit 23b8881216be5ee44fde3f831decdd979ba6aa62
Author: Richard Hughes <richard hughsie com>
Date:   Tue Jan 11 14:38:22 2011 +0000

    Fix GTK3 API break; gdk_cursor_unref() no longer exists

 libcolor-glib/gcm-sample-window.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libcolor-glib/gcm-sample-window.c b/libcolor-glib/gcm-sample-window.c
index a157c40..a48b1b1 100644
--- a/libcolor-glib/gcm-sample-window.c
+++ b/libcolor-glib/gcm-sample-window.c
@@ -169,7 +169,7 @@ gcm_sample_window_enter_notify_cb (GtkWidget *widget, GdkEventCrossing *event, G
 	/* hide cursor */
 	cursor = gdk_cursor_new_for_display (gdk_display_get_default (), GDK_BLANK_CURSOR);
 	gdk_window_set_cursor (gtk_widget_get_window (widget), cursor);
-	gdk_cursor_unref (cursor);
+	g_object_unref (cursor);
 
 	return FALSE;
 }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]