[evolution/wip/webkit-composer: 135/372] Add e_spell_checker_new()
- From: Tomas Popela <tpopela src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution/wip/webkit-composer: 135/372] Add e_spell_checker_new()
- Date: Thu, 6 Feb 2014 11:34:51 +0000 (UTC)
commit d9e43691aa8b683796390bf6acf26f8335e67a09
Author: Dan Vrátil <dvratil redhat com>
Date: Tue Aug 28 18:16:00 2012 +0200
Add e_spell_checker_new()
e-util/e-spell-checker.c | 7 +++++++
e-util/e-spell-checker.h | 2 ++
2 files changed, 9 insertions(+), 0 deletions(-)
---
diff --git a/e-util/e-spell-checker.c b/e-util/e-spell-checker.c
index f55a8ca..f10438b 100644
--- a/e-util/e-spell-checker.c
+++ b/e-util/e-spell-checker.c
@@ -346,6 +346,13 @@ e_spell_checker_init (ESpellChecker *checker)
checker->priv->broker = enchant_broker_init ();
}
+ESpellChecker *
+e_spell_checker_new (void)
+{
+ return g_object_new (E_TYPE_SPELL_CHECKER, NULL);
+}
+
+
typedef struct {
ESpellChecker *checker;
GList *dicts;
diff --git a/e-util/e-spell-checker.h b/e-util/e-spell-checker.h
index c403ea1..3a38048 100644
--- a/e-util/e-spell-checker.h
+++ b/e-util/e-spell-checker.h
@@ -60,6 +60,8 @@ struct _ESpellCheckerClass {
GType e_spell_checker_get_type (void);
+ESpellChecker * e_spell_checker_new (void);
+
GList * e_spell_checker_list_available_dicts
(ESpellChecker *checker);
ESpellDictionary * e_spell_checker_lookup_dictionary
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]