aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2003-04-26 01:33:20 +0800
committerDan Winship <danw@src.gnome.org>2003-04-26 01:33:20 +0800
commit419e8fd0170e23d58df78ac9b2a216f43ad9fc73 (patch)
treecf6355c0415c7b6376b8b75c3167f5417047a18c
parent1fbfda671f3df4e0a8b72e3886350ac6bce9a806 (diff)
downloadgsoc2013-evolution-419e8fd0170e23d58df78ac9b2a216f43ad9fc73.tar.gz
gsoc2013-evolution-419e8fd0170e23d58df78ac9b2a216f43ad9fc73.tar.zst
gsoc2013-evolution-419e8fd0170e23d58df78ac9b2a216f43ad9fc73.zip
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
-rw-r--r--shell/ChangeLog6
-rw-r--r--shell/evolution-shell-component.c6
2 files changed, 12 insertions, 0 deletions
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 <danw@ximian.com>
+
+ * 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 <ettore@ximian.com>
[#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
}
}