[gnome-terminal] screen: Fix word-chars setting
- From: Christian Persch <chpe src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-terminal] screen: Fix word-chars setting
- Date: Fri, 6 Dec 2013 21:01:01 +0000 (UTC)
commit 8ce13ff027512ae27d5c787382db1e15427a6b13
Author: Christian Persch <chpe gnome org>
Date: Fri Dec 6 21:59:52 2013 +0100
screen: Fix word-chars setting
src/terminal-screen.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/src/terminal-screen.c b/src/terminal-screen.c
index adfda2b..23e4c8e 100644
--- a/src/terminal-screen.c
+++ b/src/terminal-screen.c
@@ -732,7 +732,6 @@ terminal_screen_profile_changed_cb (GSettings *profile,
GObject *object = G_OBJECT (screen);
VteTerminal *vte_terminal = VTE_TERMINAL (screen);
TerminalWindow *window;
- const char *string;
g_object_freeze_notify (object);
@@ -785,7 +784,7 @@ terminal_screen_profile_changed_cb (GSettings *profile,
{
gs_free char *word_chars;
word_chars = g_settings_get_string (profile, TERMINAL_PROFILE_WORD_CHARS_KEY);
- vte_terminal_set_word_chars (vte_terminal, string);
+ vte_terminal_set_word_chars (vte_terminal, word_chars);
}
if (!prop_name || prop_name == I_(TERMINAL_PROFILE_SCROLL_ON_KEYSTROKE_KEY))
vte_terminal_set_scroll_on_keystroke (vte_terminal,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]