Commit 4a5ec403 authored by Christian Hergert's avatar Christian Hergert

view: remove superfluous copy of keyval

parent 43388a71
......@@ -279,7 +279,7 @@ static void gtk_source_view_move_lines (GtkSourceView
static void gtk_source_view_move_words (GtkSourceView *view,
gint step);
static gboolean gtk_source_view_key_pressed (GtkSourceView *view,
guint keyval,
guint key,
guint keycode,
guint state,
GtkEventControllerKey *controller);
......@@ -3839,7 +3839,7 @@ do_ctrl_backspace (GtkSourceView *view)
static gboolean
gtk_source_view_key_pressed (GtkSourceView *view,
guint keyval,
guint key,
guint keycode,
guint state,
GtkEventControllerKey *controller)
......@@ -3849,7 +3849,6 @@ gtk_source_view_key_pressed (GtkSourceView *view,
GtkTextIter cur;
GtkTextMark *mark;
guint modifiers;
gint key;
gboolean editable;
buf = gtk_text_view_get_buffer (GTK_TEXT_VIEW (view));
......@@ -3860,8 +3859,6 @@ gtk_source_view_key_pressed (GtkSourceView *view,
* caps lock, num lock,etc need to be taken into account */
modifiers = gtk_accelerator_get_default_mod_mask ();
key = keyval;
mark = gtk_text_buffer_get_insert (buf);
gtk_text_buffer_get_iter_at_mark (buf, &cur, mark);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment