Use non-deprecated vte_terminal_match_set_cursor_name

vte_terminal_match_set_cursor_type is deprecated, use the new
vte_terminal_match_set_cursor_name function introduced in 0.40
This commit is contained in:
Jelle van der Waa 2018-11-11 14:09:10 +01:00
parent 64e6bfe1d5
commit 1b67c5cdf5
1 changed files with 1 additions and 1 deletions

View File

@ -1509,7 +1509,7 @@ static void set_config(GtkWindow *window, VteTerminal *vte, GtkWidget *scrollbar
PCRE2_MULTILINE | PCRE2_NOTEMPTY, PCRE2_MULTILINE | PCRE2_NOTEMPTY,
nullptr), nullptr),
0); 0);
vte_terminal_match_set_cursor_type(vte, info->tag, GDK_HAND2); vte_terminal_match_set_cursor_name(vte, info->tag, "hand");
} else if (info->tag != -1) { } else if (info->tag != -1) {
vte_terminal_match_remove(vte, info->tag); vte_terminal_match_remove(vte, info->tag);
info->tag = -1; info->tag = -1;