From: Evan Nemerson Date: Tue, 2 Nov 2010 18:46:05 +0000 (-0700) Subject: pango: fix ownership of AttrList.get_iterator return value X-Git-Tag: 0.10.2~19 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=680db6d510d677519191ef951d9a682eb3a50337;p=thirdparty%2Fvala.git pango: fix ownership of AttrList.get_iterator return value --- diff --git a/vapi/packages/pango/pango.metadata b/vapi/packages/pango/pango.metadata index 7e9b43bed..32409635c 100644 --- a/vapi/packages/pango/pango.metadata +++ b/vapi/packages/pango/pango.metadata @@ -10,6 +10,7 @@ PangoAttrFontDesc.attr hidden="1" PangoAttrInt base_class="PangoAttribute" free_function="pango_attribute_destroy" PangoAttrInt.attr hidden="1" pango_attr_list_copy transfer_ownership="1" +pango_attr_list_get_iterator transfer_ownership="1" pango_attr_list_insert.attr transfer_ownership="1" PangoAttrLanguage base_class="PangoAttribute" free_function="pango_attribute_destroy" PangoAttrLanguage.attr hidden="1" diff --git a/vapi/pango.vapi b/vapi/pango.vapi index 48ec293e4..0cca84e09 100644 --- a/vapi/pango.vapi +++ b/vapi/pango.vapi @@ -74,7 +74,7 @@ namespace Pango { public void change (Pango.Attribute attr); public Pango.AttrList copy (); public unowned Pango.AttrList filter (Pango.AttrFilterFunc func, void* data); - public unowned Pango.AttrIterator get_iterator (); + public Pango.AttrIterator get_iterator (); public void insert (owned Pango.Attribute attr); public void insert_before (Pango.Attribute attr); public void splice (Pango.AttrList other, int pos, int len);