[gnome-color-manager/gnome-2-32] Fix spawning external commands when using old versions of VTE



commit 6ac5f69697d4a42de4f72db9d5c28299edc1f4c5
Author: Richard Hughes <richard hughsie com>
Date:   Wed Sep 8 12:06:01 2010 +0100

    Fix spawning external commands when using old versions of VTE

 src/gcm-calibrate-argyll.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/gcm-calibrate-argyll.c b/src/gcm-calibrate-argyll.c
index fc51203..22963f8 100644
--- a/src/gcm-calibrate-argyll.c
+++ b/src/gcm-calibrate-argyll.c
@@ -381,7 +381,7 @@ gcm_calibrate_argyll_fork_command (GcmCalibrateArgyll *calibrate_argyll, gchar *
 					      &priv->child_pid, error);
 #else
 	priv->child_pid = vte_terminal_fork_command (VTE_TERMINAL(priv->terminal),
-						     argv[0], argv, NULL,
+						     argv[0], &argv[1], NULL,
 						     working_directory,
 						     FALSE, FALSE, FALSE);
 	ret = (priv->child_pid > 0);



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