[evolution/webkit-composer: 132/147] Remove e_spell_checker_instance().



commit 1b9e2325d4773708b71dd5b88c85bcea4dc06687
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 bb0e2e9..0aeb3d0 100644
--- a/doc/reference/libeutil/libeutil-sections.txt
+++ b/doc/reference/libeutil/libeutil-sections.txt
@@ -3655,7 +3655,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]