Commit 57ab6ca8 authored by Al Thomas's avatar Al Thomas Committed by Rico Tzschichholz

gio-2.0: Mark ActionEntry.parameter_type/state fields as nullable

Fixes GNOME/vala#632
parent ce7a6d06
...@@ -3841,8 +3841,8 @@ namespace GLib { ...@@ -3841,8 +3841,8 @@ namespace GLib {
public weak string name; public weak string name;
[CCode (delegate_target = false)] [CCode (delegate_target = false)]
public weak GLib.SimpleActionActivateCallback? activate; public weak GLib.SimpleActionActivateCallback? activate;
public weak string parameter_type; public weak string? parameter_type;
public weak string state; public weak string? state;
[CCode (delegate_target = false)] [CCode (delegate_target = false)]
public weak GLib.SimpleActionChangeStateCallback? change_state; public weak GLib.SimpleActionChangeStateCallback? change_state;
} }
......
...@@ -14,8 +14,8 @@ namespace GLib { ...@@ -14,8 +14,8 @@ namespace GLib {
public weak string name; public weak string name;
[CCode (delegate_target = false)] [CCode (delegate_target = false)]
public weak GLib.SimpleActionActivateCallback? activate; public weak GLib.SimpleActionActivateCallback? activate;
public weak string parameter_type; public weak string? parameter_type;
public weak string state; public weak string? state;
[CCode (delegate_target = false)] [CCode (delegate_target = false)]
public weak GLib.SimpleActionChangeStateCallback? change_state; public weak GLib.SimpleActionChangeStateCallback? change_state;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment