[vte/vte-0-36] widget: Remove obsolete code



commit 5fc57fc8e2feb0cd8e99f97ca4b25fee5eba2f06
Author: Egmont Koblinger <egmont gmail com>
Date:   Wed Oct 23 00:04:26 2013 +0200

    widget: Remove obsolete code
    
    Remove legacy "Smooth (Slow) Scroll (DECSCLM)" code leftover.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=710426#c4

 src/vte-private.h |    1 -
 src/vte.c         |    2 --
 src/vteseq.c      |    5 -----
 3 files changed, 0 insertions(+), 8 deletions(-)
---
diff --git a/src/vte-private.h b/src/vte-private.h
index 42bc254..121825c 100644
--- a/src/vte-private.h
+++ b/src/vte-private.h
@@ -274,7 +274,6 @@ struct _VteTerminalPrivate {
        guint bell_margin;
        gboolean allow_bold;
        gboolean nrc_mode;
-       gboolean smooth_scroll;
        GHashTable *tabstops;
        gboolean text_modified_flag;
        gboolean text_inserted_flag;
diff --git a/src/vte.c b/src/vte.c
index 3c21662..c70ab48 100644
--- a/src/vte.c
+++ b/src/vte.c
@@ -14235,8 +14235,6 @@ vte_terminal_reset(VteTerminal *terminal,
        pvt->vt220_fkey_mode = FALSE;
        /* Enable meta-sends-escape. */
        pvt->meta_sends_escape = TRUE;
-       /* Disable smooth scroll. */
-       pvt->smooth_scroll = FALSE;
        /* Disable margin bell. */
        pvt->margin_bell = FALSE;
        /* Enable iso2022/NRC processing. */
diff --git a/src/vteseq.c b/src/vteseq.c
index 774cd36..975f3b2 100644
--- a/src/vteseq.c
+++ b/src/vteseq.c
@@ -652,11 +652,6 @@ vte_sequence_handler_decset_internal(VteTerminal *terminal,
                {2, NULL, NULL, NULL, NULL, NULL, NULL, NULL,},
                /* 3: disallowed, window size is set by user. */
                {3, NULL, NULL, NULL, NULL, NULL, NULL, NULL,},
-               /* 4: Smooth scroll. */
-               {4, &terminal->pvt->smooth_scroll, NULL, NULL,
-                GINT_TO_POINTER(FALSE),
-                GINT_TO_POINTER(TRUE),
-                NULL, NULL,},
                /* 5: Reverse video. */
                {5, &terminal->pvt->screen->reverse_mode, NULL, NULL,
                 GINT_TO_POINTER(FALSE),


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