From 7bb7bfa68155fd9010a222851c55143c7fbfa0df Mon Sep 17 00:00:00 2001 From: Ettore Perazzoli Date: Fri, 12 Oct 2001 04:04:47 +0000 Subject: Only invoke `progress_listener_servant_free()', no need to also do * e-shell-offline-handler.c (prepare_for_offline): Only invoke `progress_listener_servant_free()', no need to also do `__fini()' on it as `__fini()' is also called by the former. [Fixes #12329.] Also, print out the CORBA exception that gets raised so we have some more clues about what is wrong. svn path=/trunk/; revision=13614 --- shell/ChangeLog | 8 ++++++++ shell/e-shell-offline-handler.c | 4 +--- 2 files changed, 9 insertions(+), 3 deletions(-) (limited to 'shell') diff --git a/shell/ChangeLog b/shell/ChangeLog index 912e1f1acf..316c50630e 100644 --- a/shell/ChangeLog +++ b/shell/ChangeLog @@ -1,3 +1,11 @@ +2001-10-12 Ettore Perazzoli + + * e-shell-offline-handler.c (prepare_for_offline): Only invoke + `progress_listener_servant_free()', no need to also do `__fini()' + on it as `__fini()' is also called by the former. [Fixes #12329.] + Also, print out the CORBA exception that gets raised so we have + some more clues about what is wrong. + 2001-10-11 Ettore Perazzoli * e-shell-view.c diff --git a/shell/e-shell-offline-handler.c b/shell/e-shell-offline-handler.c index 00f6f24f89..bd7f450780 100644 --- a/shell/e-shell-offline-handler.c +++ b/shell/e-shell-offline-handler.c @@ -408,10 +408,8 @@ prepare_for_offline (EShellOfflineHandler *offline_handler) GNOME_Evolution_Offline_prepareForOffline (offline_interface, &active_connection_list, &ev); if (ev._major != CORBA_NO_EXCEPTION) { - g_warning ("Cannot prepare component component to go offline -- %s", id); + g_warning ("Cannot prepare component component to go offline -- %s [%s]", id, ev._repo_id); - POA_GNOME_Evolution_OfflineProgressListener__fini - ((POA_GNOME_Evolution_OfflineProgressListener *) progress_listener_servant, &ev); progress_listener_servant_free (progress_listener_servant); CORBA_Object_release (progress_listener_interface, &ev); -- cgit v1.2.3