[vte/wip/sixels: 48/111] ring: Remove last vestiges of image stream




commit 431bf3dd3fb3a32aa6f7e9a13de1b92f7bce5d52
Author: Hans Petter Jansson <hpj cl no>
Date:   Sat Aug 8 20:42:48 2020 +0200

    ring: Remove last vestiges of image stream

 src/ring.cc | 3 ---
 src/ring.hh | 2 +-
 2 files changed, 1 insertion(+), 4 deletions(-)
---
diff --git a/src/ring.cc b/src/ring.cc
index a6c36073..ded298d1 100644
--- a/src/ring.cc
+++ b/src/ring.cc
@@ -616,9 +616,6 @@ Ring::reset()
         m_image_priority_map->clear();
         m_next_image_priority = 0;
 
-       if (m_has_streams)
-               _vte_stream_reset (m_image_stream, _vte_stream_head (m_image_stream));
-
         return m_end;
 }
 
diff --git a/src/ring.hh b/src/ring.hh
index ba40c49c..730cd156 100644
--- a/src/ring.hh
+++ b/src/ring.hh
@@ -225,7 +225,7 @@ private:
          *    if nonempty, it actually contains the ID and URI separated with a semicolon. Not NUL 
terminated.
          *  - 2 bytes repeating attr.hyperlink_length so that we can walk backwards.
          */
-       VteStream *m_attr_stream, *m_text_stream, *m_row_stream, *m_image_stream;
+       VteStream *m_attr_stream, *m_text_stream, *m_row_stream;
        size_t m_last_attr_text_start_offset{0};
        VteCellAttr m_last_attr;
        GString *m_utf8_buffer;


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