aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-composer-prefs.c
diff options
context:
space:
mode:
authorRadek Doulik <rodo@src.gnome.org>2002-11-19 01:05:59 +0800
committerRadek Doulik <rodo@src.gnome.org>2002-11-19 01:05:59 +0800
commit86946f8f29fe96644f836b4675ab6653d177ae99 (patch)
tree8d117bdef9491e84db4396138b96cb5aa1c00866 /mail/mail-composer-prefs.c
parentb1cb21f5e74b18e9bb45431bb77f4c2519e9cd75 (diff)
downloadgsoc2013-evolution-86946f8f29fe96644f836b4675ab6653d177ae99.tar
gsoc2013-evolution-86946f8f29fe96644f836b4675ab6653d177ae99.tar.gz
gsoc2013-evolution-86946f8f29fe96644f836b4675ab6653d177ae99.tar.bz2
gsoc2013-evolution-86946f8f29fe96644f836b4675ab6653d177ae99.tar.lz
gsoc2013-evolution-86946f8f29fe96644f836b4675ab6653d177ae99.tar.xz
gsoc2013-evolution-86946f8f29fe96644f836b4675ab6653d177ae99.tar.zst
gsoc2013-evolution-86946f8f29fe96644f836b4675ab6653d177ae99.zip
applied spell_crash_fix.patch
svn path=/trunk/; revision=18829
Diffstat (limited to 'mail/mail-composer-prefs.c')
-rw-r--r--mail/mail-composer-prefs.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/mail/mail-composer-prefs.c b/mail/mail-composer-prefs.c
index d68277e92a..ba65f31a54 100644
--- a/mail/mail-composer-prefs.c
+++ b/mail/mail-composer-prefs.c
@@ -746,8 +746,13 @@ spell_setup_check_options (MailComposerPrefs *prefs)
CORBA_exception_init (&ev);
prefs->language_seq = GNOME_Spell_Dictionary_getLanguages (dict, &ev);
+ if (ev._major != CORBA_NO_EXCEPTION)
+ prefs->language_seq = NULL;
CORBA_exception_free (&ev);
+ if (prefs->language_seq == NULL)
+ return FALSE;
+
gconf_client_add_dir (prefs->gconf, GNOME_SPELL_GCONF_DIR, GCONF_CLIENT_PRELOAD_NONE, NULL);
spell_setup (prefs);