[evolution/wip/webkit-composer: 130/262] Remove e_spell_checker_instance().
- From: Tomas Popela <tpopela src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution/wip/webkit-composer: 130/262] Remove e_spell_checker_instance().
- Date: Thu, 16 Jan 2014 09:58:48 +0000 (UTC)
commit 3d5ba4ceebbba1112fa74366b28d3792bf15ab90
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 37dd530..847767a 100644
--- a/doc/reference/evolution-util/evolution-util-sections.txt
+++ b/doc/reference/evolution-util/evolution-util-sections.txt
@@ -3909,7 +3909,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]