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 680092 - Add a new replacement to pygi-convert.sh script
Add a new replacement to pygi-convert.sh script
Status: RESOLVED FIXED
Product: pygobject
Classification: Bindings
Component: introspection
3.0.x
Other Linux
: Normal normal
: ---
Assigned To: Nobody's working on this now (help wanted and appreciated)
Python bindings maintainers
Depends on:
Blocks:
 
 
Reported: 2012-07-17 12:41 UTC by Manuel Kaufmann
Modified: 2012-07-17 13:59 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch that solve this issue (1.02 KB, patch)
2012-07-17 12:41 UTC, Manuel Kaufmann
none Details | Review

Description Manuel Kaufmann 2012-07-17 12:41:08 UTC
Created attachment 219015 [details] [review]
Patch that solve this issue

I found that a new way is needed to load a svg from data. On gtk2 I was using:

 rsvg.Handle(data=data)

and I found that this don't work on Gtk3 and should be replaced by:

 Rsvg.Handle.new_from_data(data)

So, I created a patch that I'm attaching. This patch adds a new line to the pygi-convert.sh script to do this work for us.
Comment 1 Martin Pitt 2012-07-17 13:59:35 UTC
Thanks! Pushed with slightly refined changelog.