[gnome-builder] terminal: remove second vte_get_user_shell() call



commit d87bc2860a5e488e6cfc0bae17a1ad837316f52d
Author: Christian Hergert <chergert redhat com>
Date:   Fri Sep 16 18:28:14 2016 -0700

    terminal: remove second vte_get_user_shell() call
    
    This was overwriting our cached shell that we discovered.

 plugins/terminal/gb-terminal-view.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/plugins/terminal/gb-terminal-view.c b/plugins/terminal/gb-terminal-view.c
index 29864e5..5611fbd 100644
--- a/plugins/terminal/gb-terminal-view.c
+++ b/plugins/terminal/gb-terminal-view.c
@@ -253,8 +253,6 @@ gb_terminal_respawn (GbTerminalView *self,
   if (-1 == (tty_fd = open (name, O_RDWR | O_CLOEXEC)))
     IDE_GOTO (failure);
 
-  shell = vte_get_user_shell ();
-
   /* XXX: It would be nice to allow using the runtimes launcher */
   launcher = ide_subprocess_launcher_new (0);
   ide_subprocess_launcher_set_run_on_host (launcher, TRUE);


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