From: Luca Bruno Date: Thu, 6 Mar 2014 20:26:59 +0000 (+0100) Subject: gio-2.0: Make Action.state, state_type and parameter_type nullable X-Git-Tag: 0.24.0~17 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=874b48c4fcc1ed9063bddc53b7757c17b97e858e;p=thirdparty%2Fvala.git gio-2.0: Make Action.state, state_type and parameter_type nullable Fixes bug 725367 --- diff --git a/vapi/gio-2.0.vapi b/vapi/gio-2.0.vapi index 5abd09e51..ea96a3b48 100644 --- a/vapi/gio-2.0.vapi +++ b/vapi/gio-2.0.vapi @@ -2452,9 +2452,9 @@ namespace GLib { public static string print_detailed_name (string action_name, GLib.Variant? target_value); public abstract bool enabled { get; } public abstract string name { get; } - public abstract GLib.VariantType parameter_type { get; } - public abstract GLib.Variant state { owned get; } - public abstract GLib.VariantType state_type { get; } + public abstract GLib.VariantType? parameter_type { get; } + public abstract GLib.Variant? state { owned get; } + public abstract GLib.VariantType? state_type { get; } } [CCode (cheader_filename = "gio/gio.h", type_cname = "GActionGroupInterface", type_id = "g_action_group_get_type ()")] public interface ActionGroup : GLib.Object { diff --git a/vapi/metadata/Gio-2.0.metadata b/vapi/metadata/Gio-2.0.metadata index bf291b43c..be625ec1f 100644 --- a/vapi/metadata/Gio-2.0.metadata +++ b/vapi/metadata/Gio-2.0.metadata @@ -50,6 +50,12 @@ dbus_* parent="GLib.DBus" name="dbus_(.*)" dbus_error_* parent="GLib.DBusError" name="dbus_error_(.*)" dbus_address_get_for_bus_sync parent="GLib.BusType" name="get_address_sync" +Action + .parameter_type nullable + .state nullable + .state_type nullable +PropertyAction + .state nullable ActionEntry .activate type="GLib.SimpleActionActivateCallback" .change_state type="GLib.SimpleActionChangeStateCallback"