[gtksourceview] vim: remove unused code
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtksourceview] vim: remove unused code
- Date: Tue, 7 Dec 2021 06:16:24 +0000 (UTC)
commit 440ceab57c0140c8a2e481fd049d33f555d69120
Author: Christian Hergert <chergert redhat com>
Date: Mon Dec 6 22:11:57 2021 -0800
vim: remove unused code
gtksourceview/vim/gtksourcevimnormal.c | 10 ----------
1 file changed, 10 deletions(-)
---
diff --git a/gtksourceview/vim/gtksourcevimnormal.c b/gtksourceview/vim/gtksourcevimnormal.c
index 38fde578..3ccd26b4 100644
--- a/gtksourceview/vim/gtksourcevimnormal.c
+++ b/gtksourceview/vim/gtksourcevimnormal.c
@@ -1331,15 +1331,6 @@ gtk_source_vim_normal_handle_keypress (GtkSourceVimState *state,
return self->handler (self, keyval, keycode, mods, string);
}
-static void
-gtk_source_vim_normal_suspend (GtkSourceVimState *state,
- GtkSourceVimState *to)
-{
- g_assert (GTK_SOURCE_IS_VIM_NORMAL (state));
- g_assert (GTK_SOURCE_IS_VIM_STATE (to));
-
-}
-
static void
gtk_source_vim_normal_resume (GtkSourceVimState *state,
GtkSourceVimState *from)
@@ -1456,7 +1447,6 @@ gtk_source_vim_normal_class_init (GtkSourceVimNormalClass *klass)
state_class->handle_keypress = gtk_source_vim_normal_handle_keypress;
state_class->enter = gtk_source_vim_normal_enter;
state_class->resume = gtk_source_vim_normal_resume;
- state_class->suspend = gtk_source_vim_normal_suspend;
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]