]> git.0d.be Git - empathy.git/commitdiff
stop using tp_account_manager_is_prepared()
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Tue, 22 Oct 2013 08:41:52 +0000 (10:41 +0200)
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Tue, 22 Oct 2013 10:52:19 +0000 (12:52 +0200)
It has been deprecated.

libempathy-gtk/empathy-notify-manager.c
libempathy/empathy-utils.c

index 8ca97950e9e8fa11331de7258086eecf05a2a0c6..bbe3a1a4c0c3d7b0061445f3a92de4f0e723f90e 100644 (file)
@@ -190,7 +190,7 @@ empathy_notify_manager_notification_is_enabled  (EmpathyNotifyManager *self)
         EMPATHY_PREFS_NOTIFICATIONS_ENABLED))
     return FALSE;
 
         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");
         TP_ACCOUNT_MANAGER_FEATURE_CORE))
     {
       DEBUG ("account manager is not ready yet; display the notification");
index 4555d414493a53b49d302229fbc14bb84167a4dc..4130627e76e1f5cc4e3a699cc8df75a69ae3528b 100644 (file)
@@ -415,7 +415,7 @@ empathy_account_manager_get_accounts_connected (gboolean *connecting)
 
   manager = tp_account_manager_dup ();
 
 
   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);
 
           TP_ACCOUNT_MANAGER_FEATURE_CORE)))
     g_critical (G_STRLOC ": %s called before AccountManager ready", G_STRFUNC);