Просмотр исходного кода

Adapted mssh_terminal_child_exited to new signal call

Héctor García 9 лет назад
Родитель
Сommit
aa5215a6a8
1 измененных файлов с 2 добавлено и 2 удалено
  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_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,
     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);
 }
 
-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";