[vala/0.40] glib-2.0: Mark str parameter of Variant.take_string() as owned



commit 28bf1808d9741b7b972b22f2b845e70566ad4a89
Author: Rico Tzschichholz <ricotz ubuntu com>
Date:   Sun Apr 15 12:57:15 2018 +0200

    glib-2.0: Mark str parameter of Variant.take_string() as owned

 vapi/glib-2.0.vapi |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/vapi/glib-2.0.vapi b/vapi/glib-2.0.vapi
index 823d817..dfa8496 100644
--- a/vapi/glib-2.0.vapi
+++ b/vapi/glib-2.0.vapi
@@ -5657,7 +5657,7 @@ namespace GLib {
                [Version (since = "2.38")]
                public Variant.printf (string format_string, ...);
                [Version (since = "2.38")]
-               public Variant.take_string (string str);
+               public Variant.take_string (owned string str);
 
                [Version (since = "2.40")]
                public static void parse_error_print_context (GLib.VariantParseError error, string 
source_str);


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