[gtk+] gtk-demo: Use g_object_unref instead of gdk_cursor_unref



commit e622ae9a68804c4193e0c1be4fb06e0b4a649888
Author: Benjamin Otte <otte redhat com>
Date:   Mon Dec 20 03:59:58 2010 +0100

    gtk-demo: Use g_object_unref instead of gdk_cursor_unref

 demos/gtk-demo/changedisplay.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/demos/gtk-demo/changedisplay.c b/demos/gtk-demo/changedisplay.c
index 2e3d503..ac467e7 100644
--- a/demos/gtk-demo/changedisplay.c
+++ b/demos/gtk-demo/changedisplay.c
@@ -151,7 +151,7 @@ query_for_toplevel (GdkScreen  *screen,
 	toplevel = NULL;
     }
 
-  gdk_cursor_unref (cursor);
+  g_object_unref (cursor);
   gtk_widget_destroy (popup);
   gdk_flush ();			/* Really release the grab */
 



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