Use VTE_PTY_DEFAULT instead of a cast
This commit is contained in:
parent
f38dfd224b
commit
1870e72ff5
|
@ -205,7 +205,7 @@ int main(int argc, char **argv) {
|
||||||
command_argv = default_argv;
|
command_argv = default_argv;
|
||||||
}
|
}
|
||||||
|
|
||||||
VtePty *pty = vte_terminal_pty_new(VTE_TERMINAL(vte), (VtePtyFlags)0, &error);
|
VtePty *pty = vte_terminal_pty_new(VTE_TERMINAL(vte), VTE_PTY_DEFAULT, &error);
|
||||||
|
|
||||||
if (!pty) {
|
if (!pty) {
|
||||||
g_printerr("Failed to create pty: %s\n", error->message);
|
g_printerr("Failed to create pty: %s\n", error->message);
|
||||||
|
|
Loading…
Reference in New Issue