From 419e8fd0170e23d58df78ac9b2a216f43ad9fc73 Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Fri, 25 Apr 2003 17:33:20 +0000 Subject: [PATCH] Comment out the pinging code again since it's only being used by * evolution-shell-component.c (impl_setOwner): Comment out the pinging code again since it's only being used by Connector, where it's triggering an unrelated bug. svn path=/trunk/; revision=20969 --- shell/ChangeLog | 6 ++++++ shell/evolution-shell-component.c | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/shell/ChangeLog b/shell/ChangeLog index afd172af43..f60597c4d2 100644 --- a/shell/ChangeLog +++ b/shell/ChangeLog @@ -1,3 +1,9 @@ +2003-04-24 Dan Winship + + * evolution-shell-component.c (impl_setOwner): Comment out the + pinging code again since it's only being used by Connector, where + it's triggering an unrelated bug. + 2003-04-25 Ettore Perazzoli [#41059] diff --git a/shell/evolution-shell-component.c b/shell/evolution-shell-component.c index f15e656be8..b263b0f28d 100644 --- a/shell/evolution-shell-component.c +++ b/shell/evolution-shell-component.c @@ -202,6 +202,7 @@ fill_corba_sequence_from_null_terminated_string_array (CORBA_sequence_CORBA_stri } +#if 0 /* Owner pinging. */ static gboolean @@ -265,6 +266,7 @@ setup_owner_pinging (EvolutionShellComponent *shell_component) priv->ping_timeout_id = g_timeout_add (PING_DELAY, owner_ping_callback, shell_component); } +#endif /* CORBA interface implementation. */ @@ -430,16 +432,20 @@ impl_setOwner (PortableServer_Servant servant, } if (ev->_major == CORBA_NO_EXCEPTION) { +#if 0 BonoboObject *local_object; +#endif priv->owner_client = evolution_shell_client_new (shell); g_signal_emit (shell_component, signals[OWNER_SET], 0, priv->owner_client, evolution_homedir); +#if 0 /* Set up pinging of the shell (to realize if it's gone unexpectedly) when in the non-local case. */ local_object = bonobo_object (ORBit_small_get_servant (shell)); if (local_object == NULL) setup_owner_pinging (shell_component); +#endif } }