Commit d69d57af authored by Sébastien Wilmet's avatar Sébastien Wilmet Committed by Matthias Clasen

textview: inline a function

gtk_text_view_move_cursor_internal() was exactly the same as
gtk_text_view_move_cursor(), and was called only in the latter function.

https://bugzilla.gnome.org/show_bug.cgi?id=727908
parent 22ce03fd
......@@ -5876,10 +5876,10 @@ move_cursor (GtkTextView *text_view,
}
static void
gtk_text_view_move_cursor_internal (GtkTextView *text_view,
GtkMovementStep step,
gint count,
gboolean extend_selection)
gtk_text_view_move_cursor (GtkTextView *text_view,
GtkMovementStep step,
gint count,
gboolean extend_selection)
{
GtkTextViewPrivate *priv;
GtkTextIter insert;
......@@ -6122,15 +6122,6 @@ gtk_text_view_move_cursor_internal (GtkTextView *text_view,
gtk_text_view_pend_cursor_blink (text_view);
}
static void
gtk_text_view_move_cursor (GtkTextView *text_view,
GtkMovementStep step,
gint count,
gboolean extend_selection)
{
gtk_text_view_move_cursor_internal (text_view, step, count, extend_selection);
}
static void
gtk_text_view_move_viewport (GtkTextView *text_view,
GtkScrollStep step,
......
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