[vte] widget: Notify correct property when setting the scroll-on-keystroke



commit 84224f52f726b0062bc2c228d7052faf1c48fa0a
Author: Christian Persch <chpe src gnome org>
Date:   Fri May 1 20:34:49 2020 +0200

    widget: Notify correct property when setting the scroll-on-keystroke
    
    Fixes: https://gitlab.gnome.org/GNOME/vte/-/issues/238

 src/vtegtk.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/vtegtk.cc b/src/vtegtk.cc
index 8b14e697..e9b568d6 100644
--- a/src/vtegtk.cc
+++ b/src/vtegtk.cc
@@ -4584,7 +4584,7 @@ vte_terminal_set_scroll_on_keystroke(VteTerminal *terminal,
        g_return_if_fail(VTE_IS_TERMINAL(terminal));
 
         if (IMPL(terminal)->set_scroll_on_keystroke(scroll != FALSE))
-                g_object_notify_by_pspec(G_OBJECT(terminal), pspecs[PROP_SCROLL_ON_OUTPUT]);
+                g_object_notify_by_pspec(G_OBJECT(terminal), pspecs[PROP_SCROLL_ON_KEYSTROKE]);
 }
 
 /**


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]