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




commit 386098d47559ae761a0a1e5971e9c22f95bf96a9
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]