Red Hat Bugzilla – Bug 73828
pygtk package should have gsize patch applied to it
Last modified: 2007-04-18 12:46:34 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.0) Gecko/20020606
Description of problem:
I have a patch in GNOME CVS which will go into pygtk 1.99.14 but which applies
cleanly to .12 and .13 to add support for "gsize" and "gssize" as valid integer
types. Without this, the wrapper method for the gdk pixbuf loader's write()
method doesn't get generated, and you can't create pixmaps from in-memory data!
Version-Release number of selected component (if applicable):
Steps to Reproduce:
loader = gtk.gdk.gdk_pixbuf_loader_new()
Actual Results: Traceback, because write() isn't defined.
Expected Results: A pretty icon. :)
Here is the patch:
[joe@caedes ~]$ cat /usr/src/redhat/SOURCES/gsize.patch
--- codegen/argtypes.py Wed Jul 10 09:39:59 2002
+++ codegen/argtypes.py.joe Fri Aug 23 16:33:07 2002
@@ -729,7 +729,8 @@
Created attachment 75804 [details]
Patch file to apply.
This is present in null too, obviously. It would be very nice to have this
fixed for the next beta/release. Also, you should probably upgrade to
1.99.13... i see the occassional crash in 1.99.12.
this will make it in at some point... dunno when.
RHL 9 has 1.99.14