[vala/0.50] pango: Mark language parameter of AttrIterator.get_font() as out



commit 243fcfbd7b7bf76a1fa4c774cee8ca19a20771ef
Author: Rico Tzschichholz <ricotz ubuntu com>
Date:   Wed May 26 17:17:03 2021 +0200

    pango: Mark language parameter of AttrIterator.get_font() as out

 vapi/metadata/Pango-1.0.metadata | 1 +
 vapi/pango.vapi                  | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/vapi/metadata/Pango-1.0.metadata b/vapi/metadata/Pango-1.0.metadata
index 03745c299..3489f74c4 100644
--- a/vapi/metadata/Pango-1.0.metadata
+++ b/vapi/metadata/Pango-1.0.metadata
@@ -77,6 +77,7 @@ Attribute
   .destroy destroys_instance
 AttrIterator
   .destroy destroys_instance
+  .get_font.language out
 Coverage
   .unref destroys_instance=false
 Item
diff --git a/vapi/pango.vapi b/vapi/pango.vapi
index 97b4f9151..3a245c6be 100644
--- a/vapi/pango.vapi
+++ b/vapi/pango.vapi
@@ -66,7 +66,7 @@ namespace Pango {
                public unowned Pango.Attribute? @get (Pango.AttrType type);
                [Version (since = "1.2")]
                public GLib.SList<Pango.Attribute> get_attrs ();
-               public void get_font (Pango.FontDescription desc, Pango.Language? language, owned 
GLib.SList<Pango.Attribute>? extra_attrs);
+               public void get_font (Pango.FontDescription desc, out unowned Pango.Language? language, owned 
GLib.SList<Pango.Attribute>? extra_attrs);
                public bool next ();
                public void range (out int start, out int end);
        }


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