]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
gio-2.0: Mark ActionEntry.parameter_type/state fields as nullable
authorAlistair Thomas <astavale@yahoo.co.uk>
Thu, 31 May 2018 14:42:38 +0000 (15:42 +0100)
committerRico Tzschichholz <ricotz@ubuntu.com>
Sat, 2 Jun 2018 15:13:13 +0000 (17:13 +0200)
Fixes https://gitlab.gnome.org/GNOME/vala/issues/632

vapi/gio-2.0.vapi
vapi/metadata/Gio-2.0-custom.vala

index 08df18fa97f0f41032e558dbd71ad8b838e6b13c..e3c02dcdf09d6f772128c45931a2e783b96b42f1 100644 (file)
@@ -3841,8 +3841,8 @@ namespace GLib {
                public weak string name;
                [CCode (delegate_target = false)]
                public weak GLib.SimpleActionActivateCallback? activate;
-               public weak string parameter_type;
-               public weak string state;
+               public weak string? parameter_type;
+               public weak string? state;
                [CCode (delegate_target = false)]
                public weak GLib.SimpleActionChangeStateCallback? change_state;
        }
index ed5cc3d00533ac1f5090f788a11ddf301b4baf5e..35379b69562f7f5278f5c14d46e3b69ce9ab3635 100644 (file)
@@ -14,8 +14,8 @@ namespace GLib {
                public weak string name;
                [CCode (delegate_target = false)]
                public weak GLib.SimpleActionActivateCallback? activate;
-               public weak string parameter_type;
-               public weak string state;
+               public weak string? parameter_type;
+               public weak string? state;
                [CCode (delegate_target = false)]
                public weak GLib.SimpleActionChangeStateCallback? change_state;
        }