GNOME Bugzilla – Bug 596494
New property "cursor" in 2.18's GdkWindow with wrong type?
Last modified: 2009-09-27 19:39:44 UTC
New property "cursor" in 2.18's GdkWindow has type "gpointer": http://library.gnome.org/devel/gdk/2.18/gdk-Windows.html#gdk-Windows.properties This leads to a crash in the ruby-gnome2 bindings when manipulating GdkWindow's cursor with the 2.18 runtime, seemingly because the type should be more precise, as we can see for example in GtkWidget: http://library.gnome.org/devel/gtk/2.18/GtkWidget.html#GtkWidget.properties e.g. why cursor property of GdkWindow doesn't have type "GdkCursor*"? Thanks.
Created attachment 144127 [details] [review] Boxed paramspec
I'm not sure why Ruby would crash, but I think it's obviously a good idea to use the type. It's API compatible as far as I realize since it's still a pointer type and there's no way to pass a different kind of pointer here.
Comment on attachment 144127 [details] [review] Boxed paramspec Approved by mclasen on irc