[telepathy-mission-control/master] Remove vestigial client_ready_quark from McdClient

Simon McVittie simon.mcvittie at collabora.co.uk
Mon Sep 21 09:15:31 PDT 2009


This never actually "became ready" unless the client disappeared.
---
 src/mcd-dispatcher.c |    8 --------
 1 files changed, 0 insertions(+), 8 deletions(-)

diff --git a/src/mcd-dispatcher.c b/src/mcd-dispatcher.c
index 2bb9c20..5db14aa 100644
--- a/src/mcd-dispatcher.c
+++ b/src/mcd-dispatcher.c
@@ -286,7 +286,6 @@ enum _McdDispatcherSignalType
 };
 
 static guint signals[LAST_SIGNAL] = { 0 };
-static GQuark client_ready_quark = 0;
 
 static void mcd_dispatcher_context_unref (McdDispatcherContext * ctx,
                                           const gchar *tag);
@@ -368,11 +367,6 @@ mcd_client_free (McdClient *client)
 {
     if (client->proxy)
     {
-        GError error = { TP_DBUS_ERRORS,
-            TP_DBUS_ERROR_NAME_OWNER_LOST, "Client disappeared" };
-
-        _mcd_object_ready (client->proxy, client_ready_quark, &error);
-
         g_object_unref (client->proxy);
     }
 
@@ -3069,8 +3063,6 @@ mcd_dispatcher_class_init (McdDispatcherClass * klass)
                              TP_ARRAY_TYPE_DISPATCH_OPERATION_DETAILS_LIST,
                              G_PARAM_READABLE | G_PARAM_STATIC_STRINGS));
 
-    client_ready_quark = g_quark_from_static_string ("mcd_client_ready");
-
     klass->dbus_properties_class.interfaces = prop_interfaces,
     tp_dbus_properties_mixin_class_init (object_class,
         G_STRUCT_OFFSET (McdDispatcherClass, dbus_properties_class));
-- 
1.5.6.5




More information about the telepathy-commits mailing list