[vala/0.10] pango: fix ownership of AttrList.get_iterator return value
- From: Jürg Billeter <juergbi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/0.10] pango: fix ownership of AttrList.get_iterator return value
- Date: Thu, 23 Dec 2010 14:51:25 +0000 (UTC)
commit 680db6d510d677519191ef951d9a682eb3a50337
Author: Evan Nemerson <evan coeus-group com>
Date: Tue Nov 2 11:46:05 2010 -0700
pango: fix ownership of AttrList.get_iterator return value
vapi/packages/pango/pango.metadata | 1 +
vapi/pango.vapi | 2 +-
2 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/vapi/packages/pango/pango.metadata b/vapi/packages/pango/pango.metadata
index 7e9b43b..3240963 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 48ec293..0cca84e 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]