Use VTE_PTY_DEFAULT instead of a cast

This commit is contained in:
Simon Gomizelj 2012-06-02 11:42:20 -04:00
parent f38dfd224b
commit 1870e72ff5
1 changed files with 1 additions and 1 deletions

View File

@ -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);