[sound-juicer] Remove deprecated call to gdk_cursor_unref



commit 5b9c971275f66f0513ad3dc683b59c0f751aa880
Author: Christophe Fergeau <cfergeau redhat com>
Date:   Fri Apr 20 21:21:13 2012 +0200

    Remove deprecated call to gdk_cursor_unref
    
    https://bugzilla.gnome.org/show_bug.cgi?id=674489

 src/sj-main.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/sj-main.c b/src/sj-main.c
index cbfbd8a..704809c 100644
--- a/src/sj-main.c
+++ b/src/sj-main.c
@@ -908,7 +908,7 @@ static void reread_cd (gboolean ignore_no_media)
   if (realized) {
     cursor = gdk_cursor_new_for_display (gtk_widget_get_display (GTK_WIDGET (main_window)), GDK_WATCH);
     gdk_window_set_cursor (window, cursor);
-    gdk_cursor_unref (cursor);
+    g_object_unref (cursor);
     gdk_display_sync (gtk_widget_get_display (GTK_WIDGET (main_window)));
   }
 



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