[gnome-hwtest-simulator] Adapt to vte API changes
- From: Owen Taylor <otaylor src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-hwtest-simulator] Adapt to vte API changes
- Date: Fri, 19 Sep 2014 17:59:31 +0000 (UTC)
commit 50321c38d79dc306b7478bbe6e0d0c7d5265f359
Author: Owen W. Taylor <otaylor fishsoup net>
Date: Fri Sep 19 13:58:15 2014 -0400
Adapt to vte API changes
Switch from vte_terminal_fork_command_full() to
vte_terminal_spawn_sync().
src/spice.js | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/src/spice.js b/src/spice.js
index 351d11a..ad8c487 100644
--- a/src/spice.js
+++ b/src/spice.js
@@ -373,12 +373,12 @@ const MachineWidget = new Lang.Class({
let pty = m[1];
let libexecdir = pkg.libdir + '/../libexec';
let splice = libexecdir + '/gnome-hwtest-terminal-splice';
- this.term.fork_command_full (Vte.PtyFlags.NO_HELPER,
- '.',
- [splice, pty],
- null,
- GLib.SpawnFlags.DEFAULT,
- null);
+ this.term.spawn_sync (Vte.PtyFlags.NO_HELPER,
+ '.',
+ [splice, pty],
+ null,
+ GLib.SpawnFlags.DEFAULT,
+ null, null);
this.term.set_default_colors();
if (this.mainView.machineWidget == null)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]