diff options
Diffstat (limited to 'src/vte/vtedeprecated.h')
-rw-r--r-- | src/vte/vtedeprecated.h | 24 |
1 files changed, 19 insertions, 5 deletions
diff --git a/src/vte/vtedeprecated.h b/src/vte/vtedeprecated.h index cbc1b57c..fd4913eb 100644 --- a/src/vte/vtedeprecated.h +++ b/src/vte/vtedeprecated.h @@ -33,11 +33,15 @@ G_BEGIN_DECLS +#if _VTE_GTK == 3 + _VTE_DEPRECATED _VTE_PUBLIC int vte_terminal_match_add_gregex(VteTerminal *terminal, GRegex *gregex, - GRegexMatchFlags gflags) _VTE_CXX_NOEXCEPT _VTE_GNUC_NONNULL(1) _VTE_GNUC_NONNULL(2); + GRegexMatchFlags gflags) _VTE_CXX_NOEXCEPT _VTE_GNUC_NONNULL(1, 2); + +#endif /* _VTE_GTK == 3 */ _VTE_DEPRECATED _VTE_PUBLIC @@ -45,11 +49,13 @@ void vte_terminal_match_set_cursor(VteTerminal *terminal, int tag, GdkCursor *cursor) _VTE_CXX_NOEXCEPT _VTE_GNUC_NONNULL(1); +#if _VTE_GTK == 3 _VTE_DEPRECATED _VTE_PUBLIC void vte_terminal_match_set_cursor_type(VteTerminal *terminal, int tag, GdkCursorType cursor_type) _VTE_CXX_NOEXCEPT _VTE_GNUC_NONNULL(1); +#endif _VTE_DEPRECATED _VTE_PUBLIC @@ -57,6 +63,8 @@ char *vte_terminal_match_check(VteTerminal *terminal, glong column, glong row, int *tag) _VTE_CXX_NOEXCEPT _VTE_GNUC_NONNULL(1) G_GNUC_MALLOC; +#if _VTE_GTK == 3 + _VTE_DEPRECATED _VTE_PUBLIC gboolean vte_terminal_event_check_gregex_simple(VteTerminal *terminal, @@ -64,7 +72,7 @@ gboolean vte_terminal_event_check_gregex_simple(VteTerminal *terminal, GRegex **regexes, gsize n_regexes, GRegexMatchFlags match_flags, - char **matches) _VTE_CXX_NOEXCEPT _VTE_GNUC_NONNULL(1) _VTE_GNUC_NONNULL(2); + char **matches) _VTE_CXX_NOEXCEPT _VTE_GNUC_NONNULL(1, 2); _VTE_DEPRECATED _VTE_PUBLIC @@ -76,6 +84,8 @@ _VTE_DEPRECATED _VTE_PUBLIC GRegex *vte_terminal_search_get_gregex (VteTerminal *terminal) _VTE_CXX_NOEXCEPT _VTE_GNUC_NONNULL(1); +#endif /* _VTE_GTK == 3 */ + _VTE_DEPRECATED _VTE_PUBLIC gboolean vte_terminal_spawn_sync(VteTerminal *terminal, @@ -88,7 +98,7 @@ gboolean vte_terminal_spawn_sync(VteTerminal *terminal, gpointer child_setup_data, GPid *child_pid /* out */, GCancellable *cancellable, - GError **error) _VTE_CXX_NOEXCEPT _VTE_GNUC_NONNULL(1) _VTE_GNUC_NONNULL(4); + GError **error) _VTE_CXX_NOEXCEPT _VTE_GNUC_NONNULL(1, 4); _VTE_DEPRECATED _VTE_PUBLIC @@ -98,17 +108,21 @@ _VTE_DEPRECATED _VTE_PUBLIC void vte_terminal_copy_clipboard(VteTerminal *terminal) _VTE_CXX_NOEXCEPT _VTE_GNUC_NONNULL(1); +#if _VTE_GTK == 3 + _VTE_DEPRECATED _VTE_PUBLIC void vte_terminal_get_geometry_hints(VteTerminal *terminal, GdkGeometry *hints, int min_rows, - int min_columns) _VTE_CXX_NOEXCEPT _VTE_GNUC_NONNULL(1) _VTE_GNUC_NONNULL(2); + int min_columns) _VTE_CXX_NOEXCEPT _VTE_GNUC_NONNULL(1, 2); _VTE_DEPRECATED _VTE_PUBLIC void vte_terminal_set_geometry_hints_for_window(VteTerminal *terminal, - GtkWindow *window) _VTE_CXX_NOEXCEPT _VTE_GNUC_NONNULL(1) _VTE_GNUC_NONNULL(2); + GtkWindow *window) _VTE_CXX_NOEXCEPT _VTE_GNUC_NONNULL(1, 2); + +#endif /* _VTE_GTK == 3 */ _VTE_DEPRECATED _VTE_PUBLIC |