Browse Source

Adapted mssh_terminal_child_exited to new signal call

Héctor García 9 years ago
parent
commit
aa5215a6a8
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/mssh-terminal.c

+ 2 - 2
src/mssh-terminal.c

@@ -7,7 +7,7 @@ G_DEFINE_TYPE(MSSHTerminal, mssh_terminal, VTE_TYPE_TERMINAL)
 
 
 static void mssh_terminal_init(MSSHTerminal* terminal);
 static void mssh_terminal_init(MSSHTerminal* terminal);
 static void mssh_terminal_class_init(MSSHTerminalClass *klass);
 static void mssh_terminal_class_init(MSSHTerminalClass *klass);
-static void mssh_terminal_child_exited(VteTerminal *vte, gpointer data);
+static void mssh_terminal_child_exited(VteTerminal *vte, int pid, gpointer data);
 static gboolean mssh_terminal_focused(GtkWidget *widget,
 static gboolean mssh_terminal_focused(GtkWidget *widget,
     GtkDirectionType dir, gpointer data);
     GtkDirectionType dir, gpointer data);
 
 
@@ -134,7 +134,7 @@ static void mssh_terminal_class_init(MSSHTerminalClass *klass)
         g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0, NULL);
         g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0, NULL);
 }
 }
 
 
-static void mssh_terminal_child_exited(VteTerminal *vte, gpointer data)
+static void mssh_terminal_child_exited(VteTerminal *vte, int pid, gpointer data)
 {
 {
     char msg[] = "\r\n[Child Exited]\r\n";
     char msg[] = "\r\n[Child Exited]\r\n";