[vte] tests: Fix for API change



commit 2edea355dc98ae109ca35b94b36550441fa2df03
Author: Christian Persch <chpe gnome org>
Date:   Mon Apr 7 18:46:52 2014 +0200

    tests: Fix for API change

 src/reflect.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/reflect.c b/src/reflect.c
index 5ffaf51..102663e 100644
--- a/src/reflect.c
+++ b/src/reflect.c
@@ -71,13 +71,14 @@ terminal_shell_vte(GtkWidget *terminal)
 
         argv[0] = vte_get_user_shell ();
         argv[1] = NULL;
-       vte_terminal_fork_command_full(VTE_TERMINAL(terminal),
+       vte_terminal_spawn_sync(VTE_TERMINAL(terminal),
                                        VTE_PTY_DEFAULT,
                                        g_get_home_dir() ? g_get_home_dir() : NULL,
                                        argv,
                                        NULL,
                                        0, NULL, NULL,
                                        NULL,
+                                       NULL,
                                        NULL);
 }
 #endif


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