diff options
Diffstat (limited to 'src/vtepty.h')
-rw-r--r-- | src/vtepty.h | 30 |
1 files changed, 17 insertions, 13 deletions
diff --git a/src/vtepty.h b/src/vtepty.h index a0aea6ad..2cda0f7b 100644 --- a/src/vtepty.h +++ b/src/vtepty.h @@ -1,19 +1,19 @@ /* * Copyright © 2009, 2010 Christian Persch * - * This is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by - * the Free Software Foundation; either version 2.1 of the License, or - * (at your option) any later version. + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public - * License along with this program; if not, write to the Free Software - * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ #if !defined (__VTE_VTE_H_INSIDE__) && !defined (VTE_COMPILATION) @@ -23,7 +23,7 @@ #ifndef VTE_PTY_H #define VTE_PTY_H -#include <glib-object.h> +#include <gio/gio.h> G_BEGIN_DECLS @@ -61,6 +61,8 @@ typedef enum { VTE_PTY_ERROR_PTY98_FAILED } VtePtyError; +#define VTE_SPAWN_NO_PARENT_ENVV (1 << 25) + GQuark vte_pty_error_quark (void); /** @@ -87,11 +89,13 @@ typedef struct _VtePtyClass VtePtyClass; GType vte_pty_get_type (void); -VtePty *vte_pty_new (VtePtyFlags flags, - GError **error); +VtePty *vte_pty_new_sync (VtePtyFlags flags, + GCancellable *cancellable, + GError **error); -VtePty *vte_pty_new_foreign (int fd, - GError **error); +VtePty *vte_pty_new_foreign_sync (int fd, + GCancellable *cancellable, + GError **error); int vte_pty_get_fd (VtePty *pty); |