diff options
author | Ettore Perazzoli <ettore@src.gnome.org> | 2001-10-12 12:04:47 +0800 |
---|---|---|
committer | Ettore Perazzoli <ettore@src.gnome.org> | 2001-10-12 12:04:47 +0800 |
commit | 7bb7bfa68155fd9010a222851c55143c7fbfa0df (patch) | |
tree | ad2d96e3da9b79df3c5e4f49fa7de1b56da54c95 | |
parent | 9d6d152922b4824d20b358b1ba97905d4d880960 (diff) | |
download | gsoc2013-evolution-7bb7bfa68155fd9010a222851c55143c7fbfa0df.tar.gz gsoc2013-evolution-7bb7bfa68155fd9010a222851c55143c7fbfa0df.tar.zst gsoc2013-evolution-7bb7bfa68155fd9010a222851c55143c7fbfa0df.zip |
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
-rw-r--r-- | shell/ChangeLog | 8 | ||||
-rw-r--r-- | shell/e-shell-offline-handler.c | 4 |
2 files changed, 9 insertions, 3 deletions
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 <ettore@ximian.com> + + * 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 <ettore@ximian.com> * 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); |