123456789101112131415161718192021222324252627 |
- Description: Fix FTBFS with libvte 0.50 due to deprecated functions
- Bug-Debian: https://bugs.debian.org/876685
- Author: Axel Beckert <[email protected]>
- --- a/src/mssh-terminal.c
- +++ b/src/mssh-terminal.c
- @@ -67,7 +67,7 @@
- args[4] = NULL;
- }
-
- - vte_terminal_spawn_sync(VTE_TERMINAL(terminal),
- + vte_terminal_spawn_async(VTE_TERMINAL(terminal),
- VTE_PTY_NO_LASTLOG|VTE_PTY_NO_UTMP|VTE_PTY_NO_WTMP,
- NULL, /* working dir */
- args,
- @@ -76,8 +76,10 @@
- NULL, /* child_setup */
- NULL, /* child_setup_data */
- NULL, /* *child_pid */
- + -1, /* timeout */
- NULL, /* *cancellable */
- - NULL); /* Error handling */
- + NULL, /* callback */
- + NULL); /* user_data */
-
- free(args[0]);
- }
|