[evolution/wip/webkit-composer: 641/966] Remove e_spell_checker_instance().



commit 507bcd2988aa45d0ebf9022001d156bb7d69417a
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 3dc72c6..7324923 100644
--- a/doc/reference/evolution-util/evolution-util-sections.txt
+++ b/doc/reference/evolution-util/evolution-util-sections.txt
@@ -4370,7 +4370,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]