[gtksourceview/wip/chergert/vim] delete proper mark



commit 1d20849560ae2564c63c14451f40fb36c4c86b80
Author: Christian Hergert <chergert redhat com>
Date:   Sat Oct 30 15:56:51 2021 -0700

    delete proper mark

 gtksourceview/vim/gtk-source-vim-visual.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gtksourceview/vim/gtk-source-vim-visual.c b/gtksourceview/vim/gtk-source-vim-visual.c
index b7a49ca3..90f540f3 100644
--- a/gtksourceview/vim/gtk-source-vim-visual.c
+++ b/gtksourceview/vim/gtk-source-vim-visual.c
@@ -303,7 +303,7 @@ gtk_source_vim_visual_dispose (GObject *object)
 
        if (self->started_at)
        {
-               GtkTextMark *mark = self->cursor;
+               GtkTextMark *mark = self->started_at;
                GtkTextBuffer *buffer = gtk_text_mark_get_buffer (mark);
 
                g_clear_weak_pointer (&self->started_at);


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