GNOME Bugzilla – Bug 121611
gtk.gdk.Pixbuf.fill argument is guint, should be guint32
Last modified: 2009-08-21 03:17:26 UTC
well, I think the summary explains it all. gtk.gdk.Pixbuf.fill takes an RGBA pixel value, but the current guint argument translates into a python int, which can exceed 0x7fffffff making this function kind of useless.
Created attachment 19782 [details] [review] Patch that fixed the gdk.def file
Thanks for the patch, fixed in CVS.
*** Bug 136205 has been marked as a duplicate of this bug. ***
This conflicts with bug 136025 (it's not a dup, that was a mistake)
err, bug 136205.
We probably need to allow the function to take both int and long arguments. Johan says the code generator won't do this for us though; we need to manually override.
New code in CVS, if it's still a problem, please reopen
This bug was marked RESOLVED without a resolution, which Bugzilla does not allow (and so I am fixing it). It is assumed that the bug was intended to be marked as FIXED. If the bug should have some other resolution, please change its resolution.