Commit bbe25c8a authored by Christian Persch's avatar Christian Persch

widget: Rename API

'spawn' is a better name than 'fork' for this.
parent 2067d8a6
......@@ -85,7 +85,7 @@ vte_get_default_emulation
vte_get_user_shell
<SUBSECTION>
vte_terminal_fork_command_sync
vte_terminal_spawn_sync
vte_terminal_get_pty
vte_terminal_set_pty
vte_terminal_pty_new_sync
......
......@@ -3475,7 +3475,7 @@ vte_get_user_shell (void)
}
/**
* vte_terminal_fork_command_sync:
* vte_terminal_spawn_sync:
* @terminal: a #VteTerminal
* @pty_flags: flags from #VtePtyFlags
* @working_directory: (allow-none): the name of a directory the command should start
......@@ -3509,7 +3509,7 @@ vte_get_user_shell (void)
* Since: 0.30
*/
gboolean
vte_terminal_fork_command_sync(VteTerminal *terminal,
vte_terminal_spawn_sync(VteTerminal *terminal,
VtePtyFlags pty_flags,
const char *working_directory,
char **argv,
......
......@@ -190,7 +190,7 @@ VtePty *vte_terminal_pty_new_sync (VteTerminal *terminal,
void vte_terminal_watch_child (VteTerminal *terminal,
GPid child_pid);
gboolean vte_terminal_fork_command_sync(VteTerminal *terminal,
gboolean vte_terminal_spawn_sync(VteTerminal *terminal,
VtePtyFlags pty_flags,
const char *working_directory,
char **argv,
......
......@@ -1111,7 +1111,7 @@ main(int argc, char **argv)
command = "/bin/sh";
if (!g_shell_parse_argv(command, &command_argc, &command_argv, &err) ||
!vte_terminal_fork_command_sync(terminal,
!vte_terminal_spawn_sync(terminal,
pty_flags,
NULL,
command_argv,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment