Hi, Tommi Höynälänmaa <tommi.hoynalan...@student.tut.fi> writes: > The reason of the bug is that the attribute argument to > pango_attr_list_insert has been declared caller owned. I changed > g-wrap so that WCT arguments can be callee owned and I modified > guile-gnome2 so that the second argument of pango_attr_list_insert is > declared callee-owned. Now it works.
Thank you for your investigation, this is very helpful. Certainly the attribute argument to 'pango_attr_list_insert' should not be caller-owned. However, I'm not sure that callee-owned is quite right either, and I'm surprised that g-wrap would need to be modified to fix this. The Pango documentation says: "Ownership of [the attribute argument] is assumed by the list", i.e. the first argument. Is there a way to arrange that? I haven't worked with g-wrap or guile-gnome, so this is not my area of expertise. Thanks, Mark