[vala] GActionGroup bindings: add some metadata
- From: Ryan Lortie <ryanl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala] GActionGroup bindings: add some metadata
- Date: Wed, 30 Mar 2011 10:43:09 +0000 (UTC)
commit 623161e399eec364f7fb8b47dd631f7372ccf5e6
Author: Ryan Lortie <desrt desrt ca>
Date: Wed Mar 30 16:11:00 2011 +0530
GActionGroup bindings: add some metadata
vapi/gio-2.0.vapi | 12 ++++++------
vapi/packages/gio-2.0/gio-2.0.metadata | 7 +++++++
2 files changed, 13 insertions(+), 6 deletions(-)
---
diff --git a/vapi/gio-2.0.vapi b/vapi/gio-2.0.vapi
index 4a35269..ab22d42 100644
--- a/vapi/gio-2.0.vapi
+++ b/vapi/gio-2.0.vapi
@@ -1626,15 +1626,15 @@ namespace GLib {
public GLib.Variant state { get; set construct; }
public GLib.VariantType state_type { get; }
}
- [CCode (cheader_filename = "gio/gio.h")]
+ [CCode (cheader_filename = "gio/gio.h", type_cname = "GActionGroupInterface")]
public interface ActionGroup : GLib.Object {
- public abstract void activate_action (string action_name, GLib.Variant parameter);
+ public abstract void activate_action (string action_name, GLib.Variant? parameter);
public abstract void change_action_state (string action_name, GLib.Variant value);
public abstract bool get_action_enabled (string action_name);
- public abstract unowned GLib.VariantType get_action_parameter_type (string action_name);
- public abstract unowned GLib.Variant get_action_state (string action_name);
- public abstract unowned GLib.Variant get_action_state_hint (string action_name);
- public abstract unowned GLib.VariantType get_action_state_type (string action_name);
+ public abstract unowned GLib.VariantType? get_action_parameter_type (string action_name);
+ public abstract GLib.Variant? get_action_state (string action_name);
+ public abstract GLib.Variant? get_action_state_hint (string action_name);
+ public abstract unowned GLib.VariantType? get_action_state_type (string action_name);
public abstract bool has_action (string action_name);
[CCode (array_length = false, array_null_terminated = true)]
public abstract string[] list_actions ();
diff --git a/vapi/packages/gio-2.0/gio-2.0.metadata b/vapi/packages/gio-2.0/gio-2.0.metadata
index 52c9f60..360b2bb 100644
--- a/vapi/packages/gio-2.0/gio-2.0.metadata
+++ b/vapi/packages/gio-2.0/gio-2.0.metadata
@@ -289,10 +289,17 @@ g_application_command_line_get_arguments.argc hidden="1"
g_application_command_line_get_platform_data nullable="1" transfer_ownership="1"
g_application_local_command_line.arguments is_array="1" no_array_length="1" array_null_terminated="1" is_ref="1"
g_application_local_command_line.exit_status is_out="1"
+
+GActionGroup type_cname="GActionGroupInterface"
GActionGroup::action_added has_emitter="1"
GActionGroup::action_removed has_emitter="1"
GActionGroup::action_enabled_changed has_emitter="1"
GActionGroup::action_state_changed has_emitter="1"
+g_action_group_activate_action.parameter nullable="1"
+g_action_group_get_action_parameter_type nullable="1"
+g_action_group_get_action_state nullable="1" transfer_ownership="1"
+g_action_group_get_action_state_hint nullable="1" transfer_ownership="1"
+g_action_group_get_action_state_type nullable="1"
g_action_group_list_actions is_array="1" transfer_ownership="1" no_array_length="1" array_null_terminated="1"
g_cancellable_set_error_if_cancelled error_types="IOError"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]