[vala/0.12] vte: Fix Terminal.fork_command_full binding



commit 0336a817df2011b8a3c8225a16d8bc1986c539f2
Author: Luca Bruno <lucabru src gnome org>
Date:   Sat Apr 30 17:38:10 2011 +0200

    vte: Fix Terminal.fork_command_full binding
    
    Based on patch by Jacques-Pascal Deplaix.
    
    Fixes bug 649004.

 vapi/packages/vte/vte.metadata |    5 ++++-
 vapi/vte.vapi                  |    2 +-
 2 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/vapi/packages/vte/vte.metadata b/vapi/packages/vte/vte.metadata
index b68a94f..b3e9d7a 100644
--- a/vapi/packages/vte/vte.metadata
+++ b/vapi/packages/vte/vte.metadata
@@ -4,10 +4,13 @@ VteTerminalAccessible cheader_filename="vte/vteaccess.h"
 VteTerminal::copy_clipboard has_emitter="1"
 vte_terminal_fork_command no_array_length="1"
 vte_terminal_fork_command.command nullable="1"
-vte_terminal_fork_command*.argv is_array="1" no_array_length="1" nullable="1"
+vte_terminal_fork_command.argv is_array="1" no_array_length="1" nullable="1"
 vte_terminal_fork_command*.envv is_array="1" no_array_length="1" nullable="1"
 vte_terminal_fork_command*.working_directory nullable="1"
+vte_terminal_fork_command_full.argv is_array="1" no_array_length="1"
+vte_terminal_fork_command_full.child_setup nullable="1"
 vte_terminal_fork_command_full.child_setup_data hidden="1"
+vte_terminal_fork_command_full.child_pid is_out="1"
 vte_terminal_forkpty.envv is_array="1"
 VteTerminal::paste_clipboard has_emitter="1"
 VteTerminal.pvt hidden="1"
diff --git a/vapi/vte.vapi b/vapi/vte.vapi
index 92e437b..e4b53f5 100644
--- a/vapi/vte.vapi
+++ b/vapi/vte.vapi
@@ -60,7 +60,7 @@ namespace Vte {
 		public void feed_child (string text, long length);
 		public void feed_child_binary (string data, long length);
 		public int fork_command (string? command, [CCode (array_length = false)] string[]? argv, [CCode (array_length = false)] string[]? envv, string? working_directory, bool lastlog, bool utmp, bool wtmp);
-		public bool fork_command_full (Vte.PtyFlags pty_flags, string? working_directory, [CCode (array_length = false)] string[]? argv, [CCode (array_length = false)] string[]? envv, GLib.SpawnFlags spawn_flags, GLib.SpawnChildSetupFunc child_setup, GLib.Pid child_pid) throws GLib.Error;
+		public bool fork_command_full (Vte.PtyFlags pty_flags, string? working_directory, [CCode (array_length = false)] string[] argv, [CCode (array_length = false)] string[]? envv, GLib.SpawnFlags spawn_flags, GLib.SpawnChildSetupFunc? child_setup, out GLib.Pid child_pid) throws GLib.Error;
 		public int forkpty (string[] envv, string working_directory, bool lastlog, bool utmp, bool wtmp);
 		public unowned Gtk.Adjustment get_adjustment ();
 		public bool get_allow_bold ();



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]