[Xfce4-commits] [apps/xfce4-terminal] 01/01: Fix VTE_CHECK_VERSION inconsistencies

noreply at xfce.org noreply at xfce.org
Tue May 22 17:02:46 CEST 2018


This is an automated email from the git hooks/post-receive script.

f   2   4   0   4       p   u   s   h   e   d       a       c   o   m   m   i   t       t   o       b   r   a   n   c   h       m   a   s   t   e   r   
   in repository apps/xfce4-terminal.

commit 0f74f4c1679599f2c73e01f98d81037d2c022644
Author: Igor <f2404 at yandex.ru>
Date:   Tue May 22 11:02:25 2018 -0400

    Fix VTE_CHECK_VERSION inconsistencies
---
 terminal/terminal-widget.c | 2 +-
 terminal/terminal-window.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/terminal/terminal-widget.c b/terminal/terminal-widget.c
index f3be0e8..2294c7b 100644
--- a/terminal/terminal-widget.c
+++ b/terminal/terminal-widget.c
@@ -763,7 +763,7 @@ terminal_widget_update_highlight_urls (TerminalWidget *widget)
 
           /* set the new regular expression */
           widget->regex_tags[i] = vte_terminal_match_add_gregex (VTE_TERMINAL (widget), regex, 0);
-#if VTE_CHECK_VERSION (0, 53, 00)
+#if VTE_CHECK_VERSION (0, 53, 0)
           vte_terminal_match_set_cursor_name (VTE_TERMINAL (widget), widget->regex_tags[i], "hand2");
 #else
           vte_terminal_match_set_cursor_type (VTE_TERMINAL (widget), widget->regex_tags[i], GDK_HAND2);
diff --git a/terminal/terminal-window.c b/terminal/terminal-window.c
index bb45593..5f71678 100644
--- a/terminal/terminal-window.c
+++ b/terminal/terminal-window.c
@@ -984,7 +984,7 @@ G_GNUC_BEGIN_IGNORE_DEPRECATIONS
 
       gtk_action_set_sensitive (window->priv->action_copy,
                                 terminal_screen_has_selection (window->priv->active));
-#if VTE_CHECK_VERSION (0, 49,2)
+#if VTE_CHECK_VERSION (0, 49, 2)
       gtk_action_set_sensitive (terminal_window_get_action (window, "copy-html"),
                                 terminal_screen_has_selection (window->priv->active));
 #endif

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list