aboutsummaryrefslogtreecommitdiffstats
path: root/composer
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2013-09-08 00:31:19 +0800
committerMatthew Barnes <mbarnes@redhat.com>2013-09-08 07:08:54 +0800
commit3da4948c0fc1f2c21b163f0ec456b2d99c881258 (patch)
tree479d6153d31e03cb7a65990683b5271402e5ec29 /composer
parent2e5031cb4538b4819e5fce5d717668c3445df80a (diff)
downloadgsoc2013-evolution-3da4948c0fc1f2c21b163f0ec456b2d99c881258.tar.gz
gsoc2013-evolution-3da4948c0fc1f2c21b163f0ec456b2d99c881258.tar.zst
gsoc2013-evolution-3da4948c0fc1f2c21b163f0ec456b2d99c881258.zip
Miscellaneous cleanups.
Diffstat (limited to 'composer')
-rw-r--r--composer/e-composer-private.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/composer/e-composer-private.c b/composer/e-composer-private.c
index 2914e13ffb..4ca523e6ed 100644
--- a/composer/e-composer-private.c
+++ b/composer/e-composer-private.c
@@ -128,10 +128,14 @@ composer_spell_languages_changed (EMsgComposer *composer,
GList *languages)
{
EComposerHeader *header;
- EComposerHeaderTable *table = e_msg_composer_get_header_table (composer);
+ EComposerHeaderTable *table;
+
+ table = e_msg_composer_get_header_table (composer);
+ header = e_composer_header_table_get_header (
+ table, E_COMPOSER_HEADER_SUBJECT);
- header = e_composer_header_table_get_header (table, E_COMPOSER_HEADER_SUBJECT);
- e_composer_spell_header_set_languages (E_COMPOSER_SPELL_HEADER (header), languages);
+ e_composer_spell_header_set_languages (
+ E_COMPOSER_SPELL_HEADER (header), languages);
}
void