[vala/0.40] pango: Fix StringBuilder parameter of scan_word()



commit a40e812e50e6d77c40dca92645807636e2e52c8b
Author: Rico Tzschichholz <ricotz ubuntu com>
Date:   Thu Apr 4 10:45:10 2019 +0200

    pango: Fix StringBuilder parameter of scan_word()

 vapi/metadata/Pango-1.0.metadata | 3 ---
 vapi/pango.vapi                  | 2 +-
 2 files changed, 1 insertion(+), 4 deletions(-)
---
diff --git a/vapi/metadata/Pango-1.0.metadata b/vapi/metadata/Pango-1.0.metadata
index 59a4b4395..5873e8ced 100644
--- a/vapi/metadata/Pango-1.0.metadata
+++ b/vapi/metadata/Pango-1.0.metadata
@@ -63,9 +63,6 @@ module_register skip
 
 read_line
   .stream type="GLib.FileStream"
-  .str out=false
-scan_string
-  .out out=false
 
 // Backwards compatibility
 AttrClass
diff --git a/vapi/pango.vapi b/vapi/pango.vapi
index 0c7d9f70b..461da30d3 100644
--- a/vapi/pango.vapi
+++ b/vapi/pango.vapi
@@ -1239,7 +1239,7 @@ namespace Pango {
        public static bool scan_string (ref string pos, GLib.StringBuilder @out);
        [CCode (cheader_filename = "pango/pango.h")]
        [Version (deprecated = true, deprecated_since = "1.38")]
-       public static bool scan_word (ref string pos, out unowned GLib.StringBuilder @out);
+       public static bool scan_word (ref string pos, GLib.StringBuilder @out);
        [CCode (cheader_filename = "pango/pango.h")]
        [Version (deprecated_since = "vala-0.18", replacement = "Pango.Script.for_unichar")]
        public static Pango.Script script_for_unichar (unichar ch);


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