[evolution/webkit-composer: 69/210] Add e_spell_checker_new()
- From: Matthew Barnes <mbarnes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution/webkit-composer: 69/210] Add e_spell_checker_new()
- Date: Mon, 8 Jul 2013 00:51:39 +0000 (UTC)
commit fe0f8f9e799f9ff62856cc48f48b55212851bb8b
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]