[gtksourceview/wip/chergert/vim: 142/293] symmetry
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtksourceview/wip/chergert/vim: 142/293] symmetry
- Date: Fri, 5 Nov 2021 04:23:02 +0000 (UTC)
commit addb704bc0c0a81256dac237ca87a2fe5199da00
Author: Christian Hergert <chergert redhat com>
Date: Fri Oct 29 12:40:32 2021 -0700
symmetry
gtksourceview/vim/gtk-source-vim-command.c | 10 ++++++++++
1 file changed, 10 insertions(+)
---
diff --git a/gtksourceview/vim/gtk-source-vim-command.c b/gtksourceview/vim/gtk-source-vim-command.c
index 545211ae..124c7c12 100644
--- a/gtksourceview/vim/gtk-source-vim-command.c
+++ b/gtksourceview/vim/gtk-source-vim-command.c
@@ -154,9 +154,18 @@ gtk_source_vim_command_repeat (GtkSourceVimState *state)
command (self);
}
+static void
+gtk_source_vim_command_enter (GtkSourceVimState *state)
+{
+ g_assert (GTK_SOURCE_IS_VIM_COMMAND (state));
+
+}
+
static void
gtk_source_vim_command_leave (GtkSourceVimState *state)
{
+ g_assert (GTK_SOURCE_IS_VIM_COMMAND (state));
+
gtk_source_vim_command_repeat (state);
}
@@ -237,6 +246,7 @@ gtk_source_vim_command_class_init (GtkSourceVimCommandClass *klass)
object_class->set_property = gtk_source_vim_command_set_property;
state_class->append_command = gtk_source_vim_command_append_command;
+ state_class->enter = gtk_source_vim_command_enter;
state_class->leave = gtk_source_vim_command_leave;
state_class->repeat = gtk_source_vim_command_repeat;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]