[vala] gio-2.0: Fix g_application_local_command_line binding



commit b6f02604add108e4df159ed81df41b8c799cde3c
Author: Jürg Billeter <j bitron ch>
Date:   Tue Feb 22 13:55:20 2011 +0100

    gio-2.0: Fix g_application_local_command_line binding
    
    Fixes bug 642885.

 vapi/gio-2.0.vapi                      |    2 +-
 vapi/packages/gio-2.0/gio-2.0.metadata |    3 ++-
 2 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/vapi/gio-2.0.vapi b/vapi/gio-2.0.vapi
index c826270..9d281da 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 ([CCode (array_length = false, array_null_terminated = true)] string[] arguments, int exit_status);
+		public virtual bool local_command_line ([CCode (array_length = false, array_null_terminated = true)] ref unowned string[] arguments, out 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 59cc65e..3b1125c 100644
--- a/vapi/packages/gio-2.0/gio-2.0.metadata
+++ b/vapi/packages/gio-2.0/gio-2.0.metadata
@@ -286,7 +286,8 @@ 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"
+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::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]