[evolution/webkit-composer: 130/231] Remove e_spell_checker_instance().



commit 4ff4cee1372c366241e353cb684b8b97aab9c02a
Author: Matthew Barnes <mbarnes redhat com>
Date:   Sun Jan 20 10:02:09 2013 -0500

    Remove e_spell_checker_instance().

 .../evolution-util/evolution-util-sections.txt     |    1 -
 e-util/e-spell-checker.c                           |   11 -----------
 e-util/e-spell-checker.h                           |    1 -
 3 files changed, 0 insertions(+), 13 deletions(-)
---
diff --git a/doc/reference/evolution-util/evolution-util-sections.txt 
b/doc/reference/evolution-util/evolution-util-sections.txt
index ecc56d5..0ef1fc3 100644
--- a/doc/reference/evolution-util/evolution-util-sections.txt
+++ b/doc/reference/evolution-util/evolution-util-sections.txt
@@ -3801,7 +3801,6 @@ e_source_util_remote_delete
 <FILE>e-spell-checker</FILE>
 <TITLE>ESpellChecker</TITLE>
 ESpellChecker
-e_spell_checker_instance
 e_spell_checker_new
 e_spell_checker_list_available_dicts
 e_spell_checker_ref_dictionary
diff --git a/e-util/e-spell-checker.c b/e-util/e-spell-checker.c
index db494c0..d341550 100644
--- a/e-util/e-spell-checker.c
+++ b/e-util/e-spell-checker.c
@@ -45,8 +45,6 @@ struct _ESpellCheckerPrivate {
        GHashTable *enchant_dicts;
 };
 
-static ESpellChecker *s_instance = NULL;
-
 /* Forward Declarations */
 static void    e_spell_checker_init_webkit_checker
                                (WebKitSpellCheckerInterface *interface);
@@ -412,15 +410,6 @@ e_spell_checker_init (ESpellChecker *checker)
        checker->priv->enchant_dicts = enchant_dicts;
 }
 
-ESpellChecker *
-e_spell_checker_instance (void)
-{
-       if (s_instance == NULL)
-               s_instance = e_spell_checker_new ();
-
-       return s_instance;
-}
-
 /**
  * e_spell_checker_new:
  *
diff --git a/e-util/e-spell-checker.h b/e-util/e-spell-checker.h
index 60a96e6..181e4b9 100644
--- a/e-util/e-spell-checker.h
+++ b/e-util/e-spell-checker.h
@@ -61,7 +61,6 @@ struct _ESpellCheckerClass {
 };
 
 GType          e_spell_checker_get_type        (void) G_GNUC_CONST;
-ESpellChecker *        e_spell_checker_instance        (void);
 ESpellChecker *        e_spell_checker_new             (void);
 GList *                e_spell_checker_list_available_dicts
                                                (ESpellChecker *checker);


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