[Xfce4-commits] [apps/xfce4-terminal] 01/01: Fix previous commit
noreply at xfce.org
noreply at xfce.org
Tue Dec 5 22:08:13 CET 2017
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 65a7d23b8baba9e8ce66b0a696ca099eceb112ea
Author: Igor <f2404 at yandex.ru>
Date: Tue Dec 5 16:08:06 2017 -0500
Fix previous commit
---
terminal/terminal-screen.c | 11 +++++------
1 file changed, 5 insertions(+), 6 deletions(-)
diff --git a/terminal/terminal-screen.c b/terminal/terminal-screen.c
index 4425556..44a03f4 100644
--- a/terminal/terminal-screen.c
+++ b/terminal/terminal-screen.c
@@ -2577,10 +2577,10 @@ gboolean
terminal_screen_get_scroll_on_output (TerminalScreen *screen)
{
terminal_return_val_if_fail (TERMINAL_IS_SCREEN (screen), FALSE);
-#if VTE_CHECK_VERSION (0, 51, 1)
- return vte_terminal_get_scroll_on_output (VTE_TERMINAL (screen->terminal));
-#else
+#if !VTE_CHECK_VERSION (0, 51, 1)
return screen->scroll_on_output;
+#else
+ return vte_terminal_get_scroll_on_output (VTE_TERMINAL (screen->terminal));
#endif
}
@@ -2591,11 +2591,10 @@ terminal_screen_set_scroll_on_output (TerminalScreen *screen,
gboolean enabled)
{
terminal_return_if_fail (TERMINAL_IS_SCREEN (screen));
-#if VTE_CHECK_VERSION (0, 51, 1)
- vte_terminal_set_scroll_on_output (VTE_TERMINAL (screen->terminal), enabled);
-#else
+#if !VTE_CHECK_VERSION (0, 51, 1)
screen->scroll_on_output = enabled;
#endif
+ vte_terminal_set_scroll_on_output (VTE_TERMINAL (screen->terminal), enabled);
}
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list