GNOME Bugzilla – Bug 629523
Call Pixbuf.Savev directly instead of implementing the binding again
Last modified: 2010-09-13 21:07:12 UTC
Remove the hack and do not add the binding by our own.
Created attachment 170152 [details] [review] Call Pixbuf.Savev directly instead of implementing the binding again The methods Pixbuf.Savev allows to specify arbitrary parameters to gdk_pixbuf_save. So, there is no need to adding the binding to the C function again.
Review of attachment 170152 [details] [review]: Was unaware that this was there. Feel free to push if it works (will test as well, but I'm confident that it'll work).
Seems to be something wrong, I'm getting a lot of these: (f-spot:7265): GdkPixbuf-WARNING **: Unrecognized parameter (t3\x89 ) passed to PNG saver.
Yeah, I also found it, but I fixed it. Seems that Savev does not add the terminating null to the argument list.
Created attachment 170180 [details] [review] Call Pixbuf.Savev directly instead of implementing the binding again The methods Pixbuf.Savev allows to specify arbitrary parameters to gdk_pixbuf_save. So, there is no need to adding the binding to the C function again. Next try....Seems like the terminating null is not added by the wrapper.
Attachment 170180 [details] pushed as 706b6e1 - Call Pixbuf.Savev directly instead of implementing the binding again Great, thanks!