[vala/staging] gio-2.0: Result of DBusMessage.get_header() is unowned



commit 29ce01b79a37b32f1c694f8d3434e1c4fe63d98a
Author: Rico Tzschichholz <ricotz ubuntu com>
Date:   Wed Nov 7 12:15:25 2018 +0100

    gio-2.0: Result of DBusMessage.get_header() is unowned

 vapi/gio-2.0.vapi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/vapi/gio-2.0.vapi b/vapi/gio-2.0.vapi
index 7127a5925..055dcd66c 100644
--- a/vapi/gio-2.0.vapi
+++ b/vapi/gio-2.0.vapi
@@ -785,7 +785,7 @@ namespace GLib {
                public unowned string get_destination ();
                public unowned string get_error_name ();
                public GLib.DBusMessageFlags get_flags ();
-               public GLib.Variant get_header (GLib.DBusMessageHeaderField header_field);
+               public unowned GLib.Variant? get_header (GLib.DBusMessageHeaderField header_field);
                [CCode (array_length = false, array_null_terminated = true)]
                public uchar[] get_header_fields ();
                public unowned string get_interface ();


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