aboutsummaryrefslogtreecommitdiffstats
path: root/composer/e-msg-composer.h
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2008-11-06 00:16:13 +0800
committerMatthew Barnes <mbarnes@src.gnome.org>2008-11-06 00:16:13 +0800
commit3849f9da5a83643e5ea4c78294d377c381df692a (patch)
tree61e7c66346604af9787b000687c643698088f57f /composer/e-msg-composer.h
parent7007a0191dfcfeb1769d76a2b3085be0bc4f10fb (diff)
downloadgsoc2013-evolution-3849f9da5a83643e5ea4c78294d377c381df692a.tar.gz
gsoc2013-evolution-3849f9da5a83643e5ea4c78294d377c381df692a.tar.zst
gsoc2013-evolution-3849f9da5a83643e5ea4c78294d377c381df692a.zip
** Fixes part of bug #559371
2008-11-05 Matthew Barnes <mbarnes@redhat.com> ** Fixes part of bug #559371 * composer/e-msg-composer.c (e_load_spell_languages): New function loads a list of GtkhtmlSpellLanguage structs from GConf, taking care of details like converting language codes to structs and ensuring the returned list is non-empty. * composer/e-msg-composer.c (e_save_spell_languages): New function saves a list of GtkhtmlSpellLanguage structs to GConf, taking care of details like converting the structs to language codes. * composer/e-msg-composer.c (msg_composer_constructor): * mail/em-composer-prefs.c (spell_language_save), (spell_setup): Simplify the logic by using e_load_spell_languages() and e_save_spell_languages(). svn path=/trunk/; revision=36743
Diffstat (limited to 'composer/e-msg-composer.h')
-rw-r--r--composer/e-msg-composer.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/composer/e-msg-composer.h b/composer/e-msg-composer.h
index f0ef682999..f6b2ca7cc0 100644
--- a/composer/e-msg-composer.h
+++ b/composer/e-msg-composer.h
@@ -155,7 +155,10 @@ struct _EAttachmentBar *
e_msg_composer_get_attachment_bar
(EMsgComposer *composer);
-gboolean e_msg_composer_is_exiting (EMsgComposer *composer);
+gboolean e_msg_composer_is_exiting (EMsgComposer *composer);
+
+GList * e_load_spell_languages (void);
+void e_save_spell_languages (GList *spell_languages);
G_END_DECLS