aboutsummaryrefslogtreecommitdiffstats
path: root/mail
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
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')
-rw-r--r--mail/ChangeLog5
-rw-r--r--mail/mail-composer-prefs.c5
2 files changed, 10 insertions, 0 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index d7ad00e5d2..e6ffb0c42c 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,8 @@
+2002-11-18 Radek Doulik <rodo@ximian.com>
+
+ * mail-composer-prefs.c (spell_setup_check_options): check
+ exception state and take care when exception raised
+
2002-11-18 Jeffrey Stedfast <fejj@ximian.com>
* mail-accounts.c (mail_accounts_load): Specify the default
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);