From 05dd1933794e35ef454e6f29d09f1fdb6a4a913a Mon Sep 17 00:00:00 2001 From: Michael Meeks Date: Wed, 26 Sep 2001 05:40:19 +0000 Subject: refactor to allow syslogging; hmm. 2001-09-27 Michael Meeks * 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 * 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 --- mail/mail-config.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'mail/mail-config.c') 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; } -- cgit v1.2.3