[latexila/wip/gspell-update: 1/2] Revert "DocumentView: rename setup_inline_spell_checker()"



commit 3b8e98f75ca738a4328225297f7551b3ffdd5d5a
Author: Sébastien Wilmet <swilmet gnome org>
Date:   Thu Jan 7 14:02:38 2016 +0100

    Revert "DocumentView: rename setup_inline_spell_checker()"
    
    This reverts commit 2675a83e5f02e18c041ccd5e1f5d439930172f26.

 src/document_view.vala     |    8 ++++----
 src/main_window_tools.vala |    2 +-
 2 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/src/document_view.vala b/src/document_view.vala
index d4b815a..6f1508c 100644
--- a/src/document_view.vala
+++ b/src/document_view.vala
@@ -226,14 +226,14 @@ public class DocumentView : Gtk.SourceView
         Gspell.Checker spell_checker = new Gspell.Checker (get_spell_language ());
         Gspell.text_buffer_set_spell_checker (this.buffer, spell_checker);
 
-        setup_inline_spell_checking ();
+        setup_inline_spell_checker ();
 
         Document doc = get_buffer () as Document;
 
         doc.notify["location"].connect (() =>
         {
             spell_checker.set_language (get_spell_language ());
-            setup_inline_spell_checking ();
+            setup_inline_spell_checker ();
         });
 
         _editor_settings.changed["spell-checking-language"].connect (() =>
@@ -243,7 +243,7 @@ public class DocumentView : Gtk.SourceView
 
         _editor_settings.changed["highlight-misspelled-words"].connect (() =>
         {
-            setup_inline_spell_checking ();
+            setup_inline_spell_checker ();
         });
     }
 
@@ -261,7 +261,7 @@ public class DocumentView : Gtk.SourceView
         return Gspell.Language.lookup (lang_code);
     }
 
-    public void setup_inline_spell_checking ()
+    public void setup_inline_spell_checker ()
     {
         Document doc = get_buffer () as Document;
 
diff --git a/src/main_window_tools.vala b/src/main_window_tools.vala
index 3b72d96..4617e1a 100644
--- a/src/main_window_tools.vala
+++ b/src/main_window_tools.vala
@@ -66,7 +66,7 @@ public class MainWindowTools
         {
             // Ensure that the active_view is updated first.
             if (_main_window.active_view != null)
-                _main_window.active_view.setup_inline_spell_checking ();
+                _main_window.active_view.setup_inline_spell_checker ();
 
             update_inline_spell_checker_action_state ();
         });


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