[Xfce4-commits] [apps/xfce4-terminal] 01/01: Properly load the scrolling-lines setting
noreply at xfce.org
noreply at xfce.org
Thu Jul 21 13:51:05 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 a00fb6fdb95471cd7757ca6e8b94011eed547242
Author: Igor <f2404 at yandex.ru>
Date: Thu Jul 21 14:50:58 2016 +0300
Properly load the scrolling-lines setting
---
terminal/terminal-screen.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/terminal/terminal-screen.c b/terminal/terminal-screen.c
index 93db784..2ca2a5e 100644
--- a/terminal/terminal-screen.c
+++ b/terminal/terminal-screen.c
@@ -1115,12 +1115,12 @@ terminal_screen_update_scrolling_bar (TerminalScreen *screen)
static void
terminal_screen_update_scrolling_lines (TerminalScreen *screen)
{
- glong lines;
+ guint lines;
gboolean unlimited;
g_object_get (G_OBJECT (screen->preferences), "scrolling-lines", &lines, NULL);
g_object_get (G_OBJECT (screen->preferences), "scrolling-unlimited", &unlimited, NULL);
vte_terminal_set_scrollback_lines (VTE_TERMINAL (screen->terminal),
- unlimited ? -1 : lines);
+ unlimited ? -1 : (glong) lines);
}
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list