]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
webkit2gtk-4.0: UserMessage parameters and fd_list props are nullable
authorMichael Gratton <mike@vee.net>
Wed, 26 Aug 2020 01:31:16 +0000 (11:31 +1000)
committerMichael Gratton <mike@vee.net>
Wed, 26 Aug 2020 01:31:16 +0000 (11:31 +1000)
vapi/webkit2gtk-4.0.vapi

index b50ca9885da81896746913264e14e41c5a338320..f5f22aece2ebe9f6e4e6cf3cfa1b3f10b2989cd5 100644 (file)
@@ -1095,22 +1095,22 @@ namespace WebKit {
                [Version (since = "2.28")]
                public UserMessage (string name, GLib.Variant? parameters);
                [Version (since = "2.28")]
-               public unowned GLib.UnixFDList get_fd_list ();
+               public unowned GLib.UnixFDList? get_fd_list ();
                [Version (since = "2.28")]
                public unowned string get_name ();
                [Version (since = "2.28")]
-               public unowned GLib.Variant get_parameters ();
+               public unowned GLib.Variant? get_parameters ();
                [Version (since = "2.28")]
                public void send_reply (WebKit.UserMessage reply);
                [CCode (has_construct_function = false)]
                [Version (since = "2.28")]
                public UserMessage.with_fd_list (string name, GLib.Variant? parameters, GLib.UnixFDList? fd_list);
                [Version (since = "2.28")]
-               public GLib.UnixFDList fd_list { get; construct; }
+               public GLib.UnixFDList? fd_list { get; construct; }
                [Version (since = "2.28")]
                public string name { get; construct; }
                [Version (since = "2.28")]
-               public GLib.Variant parameters { get; construct; }
+               public GLib.Variant? parameters { get; construct; }
        }
        [CCode (cheader_filename = "webkit2/webkit2.h", ref_function = "webkit_user_script_ref", type_id = "webkit_user_script_get_type ()", unref_function = "webkit_user_script_unref")]
        [Compact]