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:
parent
64e6bfe1d5
commit
1b67c5cdf5
|
@ -1509,7 +1509,7 @@ static void set_config(GtkWindow *window, VteTerminal *vte, GtkWidget *scrollbar
|
|||
PCRE2_MULTILINE | PCRE2_NOTEMPTY,
|
||||
nullptr),
|
||||
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) {
|
||||
vte_terminal_match_remove(vte, info->tag);
|
||||
info->tag = -1;
|
||||
|
|
Loading…
Reference in New Issue