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



commit da1079d4cc4b91e0c2ac187941ea38b67ddae70c
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
    (cherry picked from commit 84224f52f726b0062bc2c228d7052faf1c48fa0a)

 src/vtegtk.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/vtegtk.cc b/src/vtegtk.cc
index 5808a210..aaf831a7 100644
--- a/src/vtegtk.cc
+++ b/src/vtegtk.cc
@@ -4475,7 +4475,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]