aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2013-10-22 16:41:52 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2013-10-22 18:52:19 +0800
commit4d556f5f50f2b462ccd9d404f8cf1d5cd1b1fd42 (patch)
tree795e22ebfb1a3bb05e4748ef98d141c941c17d8e
parent0e2e4e79bf14b2bd72458ca0a60c5b8dc1c9b67a (diff)
downloadgsoc2013-empathy-4d556f5f50f2b462ccd9d404f8cf1d5cd1b1fd42.tar
gsoc2013-empathy-4d556f5f50f2b462ccd9d404f8cf1d5cd1b1fd42.tar.gz
gsoc2013-empathy-4d556f5f50f2b462ccd9d404f8cf1d5cd1b1fd42.tar.bz2
gsoc2013-empathy-4d556f5f50f2b462ccd9d404f8cf1d5cd1b1fd42.tar.lz
gsoc2013-empathy-4d556f5f50f2b462ccd9d404f8cf1d5cd1b1fd42.tar.xz
gsoc2013-empathy-4d556f5f50f2b462ccd9d404f8cf1d5cd1b1fd42.tar.zst
gsoc2013-empathy-4d556f5f50f2b462ccd9d404f8cf1d5cd1b1fd42.zip
stop using tp_account_manager_is_prepared()
It has been deprecated.
-rw-r--r--libempathy-gtk/empathy-notify-manager.c2
-rw-r--r--libempathy/empathy-utils.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/libempathy-gtk/empathy-notify-manager.c b/libempathy-gtk/empathy-notify-manager.c
index 8ca97950e..bbe3a1a4c 100644
--- a/libempathy-gtk/empathy-notify-manager.c
+++ b/libempathy-gtk/empathy-notify-manager.c
@@ -190,7 +190,7 @@ empathy_notify_manager_notification_is_enabled (EmpathyNotifyManager *self)
EMPATHY_PREFS_NOTIFICATIONS_ENABLED))
return FALSE;
- if (!tp_account_manager_is_prepared (priv->account_manager,
+ if (!tp_proxy_is_prepared (priv->account_manager,
TP_ACCOUNT_MANAGER_FEATURE_CORE))
{
DEBUG ("account manager is not ready yet; display the notification");
diff --git a/libempathy/empathy-utils.c b/libempathy/empathy-utils.c
index 4555d4144..4130627e7 100644
--- a/libempathy/empathy-utils.c
+++ b/libempathy/empathy-utils.c
@@ -415,7 +415,7 @@ empathy_account_manager_get_accounts_connected (gboolean *connecting)
manager = tp_account_manager_dup ();
- if (G_UNLIKELY (!tp_account_manager_is_prepared (manager,
+ if (G_UNLIKELY (!tp_proxy_is_prepared (manager,
TP_ACCOUNT_MANAGER_FEATURE_CORE)))
g_critical (G_STRLOC ": %s called before AccountManager ready", G_STRFUNC);