After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 121611 - gtk.gdk.Pixbuf.fill argument is guint, should be guint32
gtk.gdk.Pixbuf.fill argument is guint, should be guint32
Status: RESOLVED FIXED
Product: pygobject
Classification: Bindings
Component: codegen
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Python bindings maintainers
Python bindings maintainers
: 136205 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2003-09-06 13:25 UTC by Hyriand
Modified: 2009-08-21 03:17 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch that fixed the gdk.def file (352 bytes, patch)
2003-09-06 13:26 UTC, Hyriand
none Details | Review

Description Hyriand 2003-09-06 13:25:34 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.
Comment 1 Hyriand 2003-09-06 13:26:13 UTC
Created attachment 19782 [details] [review]
Patch that fixed the gdk.def file
Comment 2 Johan (not receiving bugmail) Dahlin 2003-12-18 23:30:10 UTC
Thanks for the patch, fixed in CVS.
Comment 3 Johan (not receiving bugmail) Dahlin 2004-03-05 15:55:17 UTC
*** Bug 136205 has been marked as a duplicate of this bug. ***
Comment 4 Johan (not receiving bugmail) Dahlin 2004-03-05 15:56:35 UTC
This conflicts with bug 136025 (it's not a dup, that was a mistake)
Comment 5 Johan (not receiving bugmail) Dahlin 2004-03-05 15:57:23 UTC
err, bug 136205.
Comment 6 Christian Reis (not reading bugmail) 2004-03-05 16:10:43 UTC
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.
Comment 7 Johan (not receiving bugmail) Dahlin 2004-03-05 16:25:35 UTC
New code in CVS, if it's still a problem, please reopen
Comment 8 Max Kanat-Alexander 2009-08-21 03:17:26 UTC
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.