[gspell] inline-checker-gtv: fix static function name



commit 8965b1668bfd6c652dc8e7f2618a5a3e7667cc11
Author: Sébastien Wilmet <swilmet gnome org>
Date:   Fri Dec 11 15:27:24 2015 +0100

    inline-checker-gtv: fix static function name
    
    @start and @end are not always at word boundaries after calling that
    function.

 gspell/gspell-inline-checker-gtv.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/gspell/gspell-inline-checker-gtv.c b/gspell/gspell-inline-checker-gtv.c
index 5fe4d67..421ded1 100644
--- a/gspell/gspell-inline-checker-gtv.c
+++ b/gspell/gspell-inline-checker-gtv.c
@@ -130,8 +130,8 @@ check_word (GspellInlineCheckerGtv *spell,
 }
 
 static void
-adjust_iters_at_word_boundaries (GtkTextIter *start,
-                                GtkTextIter *end)
+adjust_iters (GtkTextIter *start,
+             GtkTextIter *end)
 {
        if (gtk_text_iter_inside_word (end))
        {
@@ -171,7 +171,7 @@ check_subregion (GspellInlineCheckerGtv *spell,
 
        start_adjusted = *start;
        end_adjusted = *end;
-       adjust_iters_at_word_boundaries (&start_adjusted, &end_adjusted);
+       adjust_iters (&start_adjusted, &end_adjusted);
 
        gtk_text_buffer_remove_tag (spell->buffer,
                                    spell->tag_highlight,
@@ -412,7 +412,7 @@ add_subregion_to_scan (GspellInlineCheckerGtv *spell,
 
        start_adjusted = *start;
        end_adjusted = *end;
-       adjust_iters_at_word_boundaries (&start_adjusted, &end_adjusted);
+       adjust_iters (&start_adjusted, &end_adjusted);
 
        gtk_text_region_add (spell->scan_region,
                             &start_adjusted,


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