From: Michael Gratton Date: Wed, 26 Aug 2020 01:32:12 +0000 (+1000) Subject: webkit2gtk-web-extension-4.0: UserMessage parameters and fd_list props are nullable X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fheads%2Fmjog%2Fwebkit-usermessage-nullables;p=thirdparty%2Fvala.git webkit2gtk-web-extension-4.0: UserMessage parameters and fd_list props are nullable --- diff --git a/vapi/webkit2gtk-web-extension-4.0.vapi b/vapi/webkit2gtk-web-extension-4.0.vapi index f0c03aabb..af5b22c7b 100644 --- a/vapi/webkit2gtk-web-extension-4.0.vapi +++ b/vapi/webkit2gtk-web-extension-4.0.vapi @@ -4104,22 +4104,22 @@ namespace WebKit { public UserMessage (string name, GLib.Variant? parameters); public static GLib.Quark error_quark (); [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/webkit-web-extension.h", type_id = "webkit_web_editor_get_type ()")] public class WebEditor : GLib.Object {