gtk-demo: Use g_object_unref instead of gdk_cursor_unref

This commit is contained in:
Benjamin Otte 2010-12-20 03:59:58 +01:00 committed by Matthias Clasen
parent 8f1f743903
commit e622ae9a68

View File

@ -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 */