GNOME Bugzilla – Bug 642593
Annotations needed for pango layout out parameters
Last modified: 2011-03-02 21:33:13 UTC
I was implementing a gtkprint demo for pygobject introspection and ran into issues calling PangoLayout.get_pixel_size. All of the API in pango-layout.c that had out values needed to be annotated. Patch to follow.
Created attachment 181154 [details] [review] [gi] add out annotations to pango layout API
Tested the above patch. There is most likely more annotations needed as this one only covers the out params. I also noticed a lot of warnings from gir parser where other Pango API needs transfer annotations. I can look into it but perhaps someone who is an expert at Pango may want to have a look also.
I'm not well-versed in g-i either, but looks fine. If it works for you, works for me :). Please commit.
Pushed. Thanks.