GNOME Bugzilla – Bug 670369
gdk: annotate the attributes_mask type for gdk_window_new
Last modified: 2012-06-11 20:37:50 UTC
This patch adds a type annotation for attributes_mask to gdk_window_new. If there is no reason for the C declaration to use gint here, then we could also just change the declaration itself.
Created attachment 207952 [details] [review] gdk: annotate the attributes_mask type for gdk_window_new
*** Bug 672338 has been marked as a duplicate of this bug. ***
Ping.
Review of attachment 207952 [details] [review]: Sure, looks ok. I can't imagine this being a very nice function to use from bindings, though
Attachment 207952 [details] pushed as 61972a3 - gdk: annotate the attributes_mask type for gdk_window_new
Thanks for the review. (In reply to comment #4) > I can't imagine this being a very nice function to use from > bindings, though We determine the mask automatically if the user does not provide one, and then it's OK to use: Gtk3::Gdk::Window->new ($parent, { window_type => 'toplevel', width => 100, height => 50, x => 100, y => 50, })