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
This commit is contained in:
Sébastien Wilmet
2014-04-09 16:53:14 +02:00
committed by Matthias Clasen
parent 22ce03fd94
commit d69d57afa7

View File

@ -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,