[evolution/webkit-composer: 70/150] Add e_spell_checker_new()
- From: Matthew Barnes <mbarnes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution/webkit-composer: 70/150] Add e_spell_checker_new()
- Date: Wed, 6 Feb 2013 00:16:49 +0000 (UTC)
commit fa94522213bb3648424e87ecb5d42148261b3e5f
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]