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



commit 653ce2a51058df8d4ab7253998004ed241f52409
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 035ed1b34..d0c153c89 100644
--- a/vapi/pango.vapi
+++ b/vapi/pango.vapi
@@ -1218,7 +1218,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")]
        public static void shape (string text, int length, Pango.Analysis analysis, Pango.GlyphString glyphs);
        [CCode (cheader_filename = "pango/pango.h")]


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