[gtk+] textview: inline a function
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] textview: inline a function
- Date: Sun, 13 Apr 2014 21:09:06 +0000 (UTC)
commit d69d57afa7d1966ab5ebc26bfe9eb1b24ba01571
Author: Sébastien Wilmet <swilmet gnome org>
Date: Wed Apr 9 16:53:14 2014 +0200
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
gtk/gtktextview.c | 17 ++++-------------
1 files changed, 4 insertions(+), 13 deletions(-)
---
diff --git a/gtk/gtktextview.c b/gtk/gtktextview.c
index 3194357..318818e 100644
--- a/gtk/gtktextview.c
+++ b/gtk/gtktextview.c
@@ -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;
@@ -6123,15 +6123,6 @@ gtk_text_view_move_cursor_internal (GtkTextView *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,
gint count)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]