rename tmp -> tag

This commit is contained in:
Daniel Micay 2012-06-19 19:13:55 -04:00
parent aa1a43378a
commit 61f93b8176
1 changed files with 2 additions and 2 deletions

View File

@ -554,13 +554,13 @@ int main(int argc, char **argv) {
g_signal_connect(overlay, "get-child-position", G_CALLBACK(position_overlay_cb), NULL); g_signal_connect(overlay, "get-child-position", G_CALLBACK(position_overlay_cb), NULL);
if (clickable_url) { if (clickable_url) {
int tmp = vte_terminal_match_add_gregex(VTE_TERMINAL(vte), int tag = vte_terminal_match_add_gregex(VTE_TERMINAL(vte),
g_regex_new(url_regex, g_regex_new(url_regex,
G_REGEX_CASELESS, G_REGEX_CASELESS,
G_REGEX_MATCH_NOTEMPTY, G_REGEX_MATCH_NOTEMPTY,
NULL), NULL),
(GRegexMatchFlags)0); (GRegexMatchFlags)0);
vte_terminal_match_set_cursor_type(VTE_TERMINAL(vte), tmp, GDK_HAND2); vte_terminal_match_set_cursor_type(VTE_TERMINAL(vte), tag, GDK_HAND2);
g_signal_connect(vte, "button-press-event", G_CALLBACK(button_press_cb), NULL); g_signal_connect(vte, "button-press-event", G_CALLBACK(button_press_cb), NULL);
} }