[vala] gio-2.0: Fix g_application_local_command_line binding
- From: Jürg Billeter <juergbi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala] gio-2.0: Fix g_application_local_command_line binding
- Date: Mon, 7 Feb 2011 09:33:20 +0000 (UTC)
commit ac47799a0c9162cacecb913be6d56b12b2310639
Author: Jürg Billeter <j bitron ch>
Date: Mon Feb 7 10:32:37 2011 +0100
gio-2.0: Fix g_application_local_command_line binding
Fixes bug 641512.
vapi/gio-2.0.vapi | 2 +-
vapi/packages/gio-2.0/gio-2.0.metadata | 1 +
2 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/vapi/gio-2.0.vapi b/vapi/gio-2.0.vapi
index e31982b..ffb000a 100644
--- a/vapi/gio-2.0.vapi
+++ b/vapi/gio-2.0.vapi
@@ -74,7 +74,7 @@ namespace GLib {
public void hold ();
public static bool id_is_valid (string application_id);
[NoWrapper]
- public virtual bool local_command_line (string arguments, int exit_status);
+ public virtual bool local_command_line ([CCode (array_length = false, array_null_terminated = true)] string[] arguments, int exit_status);
[CCode (cname = "g_application_quit_with_data")]
public bool quit (GLib.Variant? platform_data = null);
[NoWrapper]
diff --git a/vapi/packages/gio-2.0/gio-2.0.metadata b/vapi/packages/gio-2.0/gio-2.0.metadata
index 073e984..ff5ab55 100644
--- a/vapi/packages/gio-2.0/gio-2.0.metadata
+++ b/vapi/packages/gio-2.0/gio-2.0.metadata
@@ -286,6 +286,7 @@ GApplication:register hidden="1"
g_application_command_line_get_arguments is_array="1" transfer_ownership="1"
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"
GActionGroup::action_added has_emitter="1"
GActionGroup::action_removed has_emitter="1"
GActionGroup::action_enabled_changed has_emitter="1"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]