[vala] gio-2.0: Make Action.state, state_type and parameter_type nullable
- From: Luca Bruno <lucabru src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala] gio-2.0: Make Action.state, state_type and parameter_type nullable
- Date: Thu, 6 Mar 2014 20:27:49 +0000 (UTC)
commit 874b48c4fcc1ed9063bddc53b7757c17b97e858e
Author: Luca Bruno <lucabru src gnome org>
Date: Thu Mar 6 21:26:59 2014 +0100
gio-2.0: Make Action.state, state_type and parameter_type nullable
Fixes bug 725367
vapi/gio-2.0.vapi | 6 +++---
vapi/metadata/Gio-2.0.metadata | 6 ++++++
2 files changed, 9 insertions(+), 3 deletions(-)
---
diff --git a/vapi/gio-2.0.vapi b/vapi/gio-2.0.vapi
index 5abd09e..ea96a3b 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 bf291b4..be625ec 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"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]