[gnome-control-center] Remove one remaining use of gdk_cursor_unref



commit 5bc0d75d5c063d672f860d4c66f26a4e1bda9bc6
Author: Matthias Clasen <mclasen redhat com>
Date:   Tue Jan 25 00:33:57 2011 -0500

    Remove one remaining use of gdk_cursor_unref

 panels/user-accounts/um-user-panel.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/panels/user-accounts/um-user-panel.c b/panels/user-accounts/um-user-panel.c
index bd67a1e..e0cf623 100644
--- a/panels/user-accounts/um-user-panel.c
+++ b/panels/user-accounts/um-user-panel.c
@@ -733,7 +733,7 @@ language_changed (UmEditableCombo    *combo,
         cursor = gdk_cursor_new (GDK_WATCH);
         gdk_window_set_cursor (gtk_widget_get_window (gtk_widget_get_toplevel (d->main_box)),
                                cursor);
-        gdk_cursor_unref (cursor);
+        g_object_unref (cursor);
 
         d->language_chooser_idle = g_idle_add ((GSourceFunc)finish_language_chooser, d);
 }



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