[telepathy-mission-control/master] Rely on McdClientProxy to set itself inactive
Simon McVittie
simon.mcvittie at collabora.co.uk
Mon Oct 19 07:01:07 PDT 2009
---
src/mcd-dispatcher.c | 11 +----------
1 files changed, 1 insertions(+), 10 deletions(-)
diff --git a/src/mcd-dispatcher.c b/src/mcd-dispatcher.c
index c379c8c..91fbb0a 100644
--- a/src/mcd-dispatcher.c
+++ b/src/mcd-dispatcher.c
@@ -2095,16 +2095,7 @@ name_owner_changed_cb (TpDBusDaemon *proxy,
else if (old_owner[0] != '\0' && new_owner[0] == '\0')
{
/* The name disappeared from the bus. It might be either well-known
- * or unique */
- McdClientProxy *client;
-
- client = _mcd_client_registry_lookup (priv->clients, name);
-
- if (client)
- {
- _mcd_client_proxy_set_inactive (client);
- }
-
+ * (handled within McdClientProxy) or unique (handled here) */
if (name[0] == ':')
{
/* it's a unique name - maybe it was handling some channels? */
--
1.5.6.5
More information about the telepathy-commits
mailing list