aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Meeks <michael@ximian.com>2001-09-26 13:40:19 +0800
committerMichael Meeks <michael@src.gnome.org>2001-09-26 13:40:19 +0800
commit05dd1933794e35ef454e6f29d09f1fdb6a4a913a (patch)
treef8c5e53dc21f2fc30364382774f8cf3d675b60a9
parentf06f7a283659fa559e5377d015af65658ef73717 (diff)
downloadgsoc2013-evolution-05dd1933794e35ef454e6f29d09f1fdb6a4a913a.tar
gsoc2013-evolution-05dd1933794e35ef454e6f29d09f1fdb6a4a913a.tar.gz
gsoc2013-evolution-05dd1933794e35ef454e6f29d09f1fdb6a4a913a.tar.bz2
gsoc2013-evolution-05dd1933794e35ef454e6f29d09f1fdb6a4a913a.tar.lz
gsoc2013-evolution-05dd1933794e35ef454e6f29d09f1fdb6a4a913a.tar.xz
gsoc2013-evolution-05dd1933794e35ef454e6f29d09f1fdb6a4a913a.tar.zst
gsoc2013-evolution-05dd1933794e35ef454e6f29d09f1fdb6a4a913a.zip
refactor to allow syslogging; hmm.
2001-09-27 Michael Meeks <michael@ximian.com> * bonobo/bonobo-moniker-util.c (bonobo_get_object): refactor to allow syslogging; hmm. * bonobo/bonobo-ui-util.c: prune stuff, give up hope of libxml1 ever coping with utf-8 properly - cut confusing dup'd routines. 2001-09-26 Michael Meeks <michael@ximian.com> * bonobo/bonobo-ui-component.c (bonobo_ui_component_remove_verb), (bonobo_ui_component_remove_verb_by_func), (bonobo_ui_component_remove_verb_by_data), (bonobo_ui_component_add_listener_full), (bonobo_ui_component_remove_listener), (bonobo_ui_component_remove_listener_by_func), (bonobo_ui_component_remove_listener_by_data), (impl_xml_get, impl_xml_set, impl_xml_rm), (bonobo_ui_component_object_set), (bonobo_ui_component_object_get), (impl_freeze, impl_thaw, impl_get_prop), (impl_exists, bonobo_ui_component_unset_container), (bonobo_ui_component_set_container), (bonobo_ui_component_get_container), (ui_event, bonobo_ui_component_add_verb_full), (impl_Bonobo_UIComponent_execVerb): add preconditions that priv != NULL on every deref path; it seems people like to work with destroyed obejcts. svn path=/trunk/; revision=13140
-rw-r--r--mail/ChangeLog6
-rw-r--r--mail/mail-config.c5
2 files changed, 10 insertions, 1 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index 629cbb4bd8..6f955f49d4 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,9 @@
+2001-09-27 Michael Meeks <michael@ximian.com>
+
+ * mail-config.c (mail_config_init): report the
+ exception on failure and abort quickly instead of hitting
+ a strange assert later.
+
2001-09-25 Jeffrey Stedfast <fejj@ximian.com>
* mail-format.c (decode_pgp): Update to not send the
diff --git a/mail/mail-config.c b/mail/mail-config.c
index c1931fcb1a..3d30325d50 100644
--- a/mail/mail-config.c
+++ b/mail/mail-config.c
@@ -249,7 +249,10 @@ mail_config_init (void)
db = bonobo_get_object ("wombat:", "Bonobo/ConfigDatabase", &ev);
if (BONOBO_EX (&ev) || db == CORBA_OBJECT_NIL) {
-
+ char *err;
+ g_error ("Very serious error, cannot activate config database '%s'",
+ (err = bonobo_exception_get_text (&ev)));
+ g_free (err);
CORBA_exception_free (&ev);
return;
}