[empathy] dispatcher: don't check for Requests when fetching conn properties



commit 86a3d7231f766c1c157ce84bf2444c396610a4fb
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date:   Mon Apr 19 17:12:50 2010 +0200

    dispatcher: don't check for Requests when fetching conn properties

 libempathy/empathy-dispatcher.c |   11 +++--------
 1 files changed, 3 insertions(+), 8 deletions(-)
---
diff --git a/libempathy/empathy-dispatcher.c b/libempathy/empathy-dispatcher.c
index 08bfad7..027a960 100644
--- a/libempathy/empathy-dispatcher.c
+++ b/libempathy/empathy-dispatcher.c
@@ -819,14 +819,9 @@ connection_ready_cb (TpConnection *connection,
       goto out;
     }
 
-  if (tp_proxy_has_interface_by_id (TP_PROXY (connection),
-      TP_IFACE_QUARK_CONNECTION_INTERFACE_REQUESTS))
-    {
-      tp_cli_dbus_properties_call_get_all (connection, -1,
-        TP_IFACE_CONNECTION_INTERFACE_REQUESTS,
-        dispatcher_connection_got_all,
-        NULL, NULL, G_OBJECT (self));
-    }
+  tp_cli_dbus_properties_call_get_all (connection, -1,
+      TP_IFACE_CONNECTION_INTERFACE_REQUESTS, dispatcher_connection_got_all,
+      NULL, NULL, G_OBJECT (self));
 
   /* Advertise VoIP capabilities */
   capabilities = g_ptr_array_sized_new (1);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]