diff options
Diffstat (limited to 'composer/e-composer-private.c')
-rw-r--r-- | composer/e-composer-private.c | 10 |
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 |