Deprecated, removed and renamed functions and objects

Some functions were marked as deprecated in earlier VTE versions; they have been removed in VTE 0.30. You need to replace their use with their replacement functions as indicated below, or write your own code.

Other functions have been renamed, and may also have had their argument list change. Consult the documentation for the new functions for more information.

Some other functions and object properties that have been removed have been replaced by style properties; see the section below for more information.

Table 2. 

Deprecated function Replacement
vte_terminal_get_using_xft No replacement
vte_terminal_get_char_ascent No replacement
vte_terminal_get_char_descent No replacement
vte_terminal_get_padding gtk_style_context_get_padding
vte_terminal_set_cursor_blinks Use the new cursor-blink-mode style property.
vte_terminal_get_adjustment gtk_scrollable_get_vadjustment
vte_terminal_forkpty Use vte_pty_new_sync, fork(2) with vte_pty_child_setup in the child, and then vte_terminal_set_pty.
vte_terminal_fork_command_full Renamed to vte_terminal_spawn_sync
vte_terminal_get_pty_object Renamed to vte_terminal_get_pty.
vte_terminal_set_pty_object Renamed to vte_terminal_set_pty.
vte_terminal_set_default_color Reset the corresponding style properties.
vte_terminal_get_pty Use vte_pty_get_fd on the object returned from vte_terminal_get_pty.
vte_terminal_set_pty Use vte_pty_new_sync or vte_pty_new_foreign_sync together with vte_terminal_set_pty.
vte_terminal_get_default_emulation Renamed to vte_get_default_emulation
vte_terminal_get_child_exit_status The child exit status is now carried by the child-exited signal.
vte_terminal_pty_new Renamed to vte_terminal_pty_new_sync.
vte_pty_new Renamed to vte_pty_new_sync.
vte_pty_new_foreign Renamed to vte_pty_new_foreign_sync.

The VteReaper object has been removed. You can replace its use by vte_terminal_watch_child (which is called by vte_terminal_spawn_sync) and then listening to the child-exited signal. Alternatively, you can use g_child_watch_add directly.

The VteAccess object is no longer public. It is still available internally to provide the VteTerminal accessible implementation; use gtk_widget_get_accessible to get it.