[evolution/webkit-composer: 69/231] Add e_spell_checker_new()
- From: Tomas Popela <tpopela src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution/webkit-composer: 69/231] Add e_spell_checker_new()
- Date: Fri, 13 Sep 2013 14:11:47 +0000 (UTC)
commit 608ed7e85743a88fa1331de783c219293034c419
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]