Commit 08887f05 authored by Daniel Boles's avatar Daniel Boles

TextView: Be const-correct when passing a pointer

The TextIter is passed by pointer for efficiency. We neither need to
modify it, nor should we leave it possible to accidentally do so. So,
it should be passed as a pointer-to-const.
parent 87b579cf
......@@ -6417,7 +6417,7 @@ move_cursor (GtkTextView *text_view,
}
static gboolean
iter_line_is_rtl (GtkTextIter *iter)
iter_line_is_rtl (const GtkTextIter *iter)
{
GtkTextIter start, end;
char *text;
......
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