[evolution/webkit-composer: 134/182] Remove e_spell_checker_instance().



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

    Remove e_spell_checker_instance().

 doc/reference/libeutil/libeutil-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/libeutil/libeutil-sections.txt b/doc/reference/libeutil/libeutil-sections.txt
index 975adfa..f3905cc 100644
--- a/doc/reference/libeutil/libeutil-sections.txt
+++ b/doc/reference/libeutil/libeutil-sections.txt
@@ -3769,7 +3769,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]