[empathy] connection-managers: stop using tp_connection_manager_is_ready()
- From: Guillaume Desmottes <gdesmott src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [empathy] connection-managers: stop using tp_connection_manager_is_ready()
- Date: Mon, 12 Mar 2012 13:05:34 +0000 (UTC)
commit 19f191b4975baa7e284e2aca56abb9d123f4ef37
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date: Mon Mar 12 13:52:06 2012 +0100
connection-managers: stop using tp_connection_manager_is_ready()
It has been deprecated.
libempathy/empathy-connection-managers.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libempathy/empathy-connection-managers.c b/libempathy/empathy-connection-managers.c
index a856b1f..a39f3ae 100644
--- a/libempathy/empathy-connection-managers.c
+++ b/libempathy/empathy-connection-managers.c
@@ -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));
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]