[gnome-text-editor] spellcheck: remove unused function



commit 313531498dadcdf21647e42c35d89d14a2aa0c00
Author: Christian Hergert <christian hergert me>
Date:   Thu Dec 9 12:03:26 2021 -0800

    spellcheck: remove unused function

 src/editor-text-buffer-spell-adapter.c | 9 ---------
 1 file changed, 9 deletions(-)
---
diff --git a/src/editor-text-buffer-spell-adapter.c b/src/editor-text-buffer-spell-adapter.c
index ba4c204..2933370 100644
--- a/src/editor-text-buffer-spell-adapter.c
+++ b/src/editor-text-buffer-spell-adapter.c
@@ -169,15 +169,6 @@ editor_text_buffer_spell_adapter_new (GtkTextBuffer      *buffer,
                        NULL);
 }
 
-static inline gboolean
-contains_iter (const GtkTextIter *begin,
-               const GtkTextIter *end,
-               const GtkTextIter *iter)
-{
-  return gtk_text_iter_compare (begin, iter) <= 0 &&
-         gtk_text_iter_compare (iter, end) <= 0;
-}
-
 static gboolean
 get_unchecked_start_cb (gsize                   offset,
                         const CjhTextRegionRun *run,


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