[gtksourceview] SpaceDrawer: make a param of get_end_iter() const



commit 71df8832a3ce49c023d2304fab04b22039ee2267
Author: Sébastien Wilmet <swilmet gnome org>
Date:   Sat Jul 23 07:38:50 2016 +0200

    SpaceDrawer: make a param of get_end_iter() const
    
    For clarity.

 gtksourceview/gtksourcespacedrawer.c |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/gtksourceview/gtksourcespacedrawer.c b/gtksourceview/gtksourcespacedrawer.c
index b03c249..6cfcc76 100644
--- a/gtksourceview/gtksourcespacedrawer.c
+++ b/gtksourceview/gtksourcespacedrawer.c
@@ -512,12 +512,12 @@ space_needs_drawing (GtkSourceSpaceDrawer *drawer,
 }
 
 static void
-get_end_iter (GtkTextView *text_view,
-             GtkTextIter *start_iter,
-             GtkTextIter *end_iter,
-             gint         x,
-             gint         y,
-             gboolean     is_wrapping)
+get_end_iter (GtkTextView       *text_view,
+             const GtkTextIter *start_iter,
+             GtkTextIter       *end_iter,
+             gint               x,
+             gint               y,
+             gboolean           is_wrapping)
 {
        gint min, max, i;
        GdkRectangle rect;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]