[vala/0.10] pango: Fix pango_attr_list_change binding



commit 8a00433454830a93fd2bc37da2313b1e36262d89
Author: Jürg Billeter <j bitron ch>
Date:   Wed Dec 29 10:30:19 2010 +0100

    pango: Fix pango_attr_list_change binding

 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 3240963..6401744 100644
--- a/vapi/packages/pango/pango.metadata
+++ b/vapi/packages/pango/pango.metadata
@@ -11,6 +11,7 @@ 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_change.attr 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 0cca84e..20d6cdc 100644
--- a/vapi/pango.vapi
+++ b/vapi/pango.vapi
@@ -71,7 +71,7 @@ namespace Pango {
 	public class AttrList {
 		[CCode (has_construct_function = false)]
 		public AttrList ();
-		public void change (Pango.Attribute attr);
+		public void change (owned Pango.Attribute attr);
 		public Pango.AttrList copy ();
 		public unowned Pango.AttrList filter (Pango.AttrFilterFunc func, void* data);
 		public Pango.AttrIterator get_iterator ();



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]