]> git.0d.be Git - empathy.git/commitdiff
connection-managers: stop using tp_connection_manager_is_ready()
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Mon, 12 Mar 2012 12:52:06 +0000 (13:52 +0100)
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Mon, 12 Mar 2012 13:05:20 +0000 (14:05 +0100)
It has been deprecated.

libempathy/empathy-connection-managers.c

index a856b1fd1fde5a7df407c7ccac76a5b7290f12fe..a39f3ae8051a716cc3e0940e488a0a5c9cfbadbb 100644 (file)
@@ -230,7 +230,7 @@ empathy_connection_managers_listed_cb (TpConnectionManager * const *cms,
   for (iter = cms ; iter != NULL && *iter != NULL; iter++)
     {
       /* only list cms that didn't hit errors */
-      if (tp_connection_manager_is_ready (*iter))
+      if (tp_proxy_is_prepared (*iter, TP_CONNECTION_MANAGER_FEATURE_CORE))
         priv->cms = g_list_prepend (priv->cms, g_object_ref (*iter));
     }