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



commit e0af218ad3f3cecb0c04b380db26a31591c1efb3
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 7f83afd..f471bfc 100644
--- a/vapi/glib-2.0.vapi
+++ b/vapi/glib-2.0.vapi
@@ -5623,7 +5623,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]