diff options
author | Ettore Perazzoli <ettore@src.gnome.org> | 2002-10-21 23:20:47 +0800 |
---|---|---|
committer | Ettore Perazzoli <ettore@src.gnome.org> | 2002-10-21 23:20:47 +0800 |
commit | 58573777e83d81da42285c576f95d588d27b224d (patch) | |
tree | 2c5b22e8d5ca8e670c44d98f9233b2f61fab3a10 /shell/evolution-shell-component-utils.c | |
parent | 0e33447271953845cc301bd51562c9c19f1bb9af (diff) | |
download | gsoc2013-evolution-58573777e83d81da42285c576f95d588d27b224d.tar.gz gsoc2013-evolution-58573777e83d81da42285c576f95d588d27b224d.tar.zst gsoc2013-evolution-58573777e83d81da42285c576f95d588d27b224d.zip |
(e_get_activation_failure_msg): If the exception_id is NULL,
return NULL instead of crashing. [#25891]
svn path=/trunk/; revision=18397
Diffstat (limited to 'shell/evolution-shell-component-utils.c')
-rw-r--r-- | shell/evolution-shell-component-utils.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/shell/evolution-shell-component-utils.c b/shell/evolution-shell-component-utils.c index b3e806d296..b9e5215e69 100644 --- a/shell/evolution-shell-component-utils.c +++ b/shell/evolution-shell-component-utils.c @@ -155,6 +155,9 @@ e_get_activation_failure_msg (CORBA_Environment *ev) { g_return_val_if_fail (ev != NULL, NULL); + if (CORBA_exception_id (ev) == NULL) + return NULL; + if (strcmp (CORBA_exception_id (ev), ex_OAF_GeneralError) != 0) { return bonobo_exception_get_text (ev); } else { |