[gtksourceview/wip/chergert/vim] fix enter vfunc on wrong object



commit 3eff640a14cdc9721242085c5c77cf5f2761034a
Author: Christian Hergert <chergert redhat com>
Date:   Fri Oct 22 11:29:15 2021 -0700

    fix enter vfunc on wrong object

 gtksourceview/vim/gtk-source-vim-state.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gtksourceview/vim/gtk-source-vim-state.c b/gtksourceview/vim/gtk-source-vim-state.c
index 4b00644f..9a20e4c5 100644
--- a/gtksourceview/vim/gtk-source-vim-state.c
+++ b/gtksourceview/vim/gtk-source-vim-state.c
@@ -417,7 +417,7 @@ gtk_source_vim_state_push (GtkSourceVimState *self,
 
        if (GTK_SOURCE_VIM_STATE_GET_CLASS (new_state)->enter)
        {
-               GTK_SOURCE_VIM_STATE_GET_CLASS (self)->enter (new_state);
+               GTK_SOURCE_VIM_STATE_GET_CLASS (new_state)->enter (new_state);
        }
 }
 


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