[Xfce4-commits] [apps/xfce4-terminal] 01/01: Fix compilation for vte < 0.44

noreply at xfce.org noreply at xfce.org
Fri Jul 29 10:11:59 CEST 2016


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

f2404 pushed a commit to branch master
in repository apps/xfce4-terminal.

commit 303787839203e9f042aef407415f7a1040b9a616
Author: Igor <f2404 at yandex.ru>
Date:   Fri Jul 29 11:11:53 2016 +0300

    Fix compilation for vte < 0.44
---
 terminal/terminal-screen.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/terminal/terminal-screen.c b/terminal/terminal-screen.c
index 6b2b94c..fda8854 100644
--- a/terminal/terminal-screen.c
+++ b/terminal/terminal-screen.c
@@ -957,8 +957,10 @@ terminal_screen_update_colors (TerminalScreen *screen)
   /* cursor color */
   has_cursor = terminal_preferences_get_color (screen->preferences, "color-cursor", &cursor);
   vte_terminal_set_color_cursor (VTE_TERMINAL (screen->terminal), has_cursor ? &cursor : NULL);
+#if VTE_CHECK_VERSION (0, 44, 2)
   vte_terminal_set_color_cursor_foreground (VTE_TERMINAL (screen->terminal),
                                             has_cursor && has_bg ? &bg : NULL);
+#endif
 
   /* selection color */
   if (!selection_use_default)

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


More information about the Xfce4-commits mailing list