]> git.0d.be Git - empathy.git/blobdiff - libempathy/empathy-utils.c
rename EmpathyIdle to EmpathyPresenceManager (#640532)
[empathy.git] / libempathy / empathy-utils.c
index 6bbd53f86d4395832b64ff967d843414e73f608f..3730e43a8fc74ac62bd4ce502d14b4d22eec66ce 100644 (file)
@@ -49,7 +49,7 @@
 #include "empathy-contact-manager.h"
 #include "empathy-individual-manager.h"
 #include "empathy-dispatcher.h"
-#include "empathy-idle.h"
+#include "empathy-presence-manager.h"
 #include "empathy-tp-call.h"
 #include "empathy-tp-contact-factory.h"
 
@@ -482,11 +482,11 @@ gboolean
 empathy_check_available_state (void)
 {
        TpConnectionPresenceType presence;
-       EmpathyIdle *idle;
+       EmpathyPresenceManager *presence_mgr;
 
-       idle = empathy_idle_dup_singleton ();
-       presence = empathy_idle_get_state (idle);
-       g_object_unref (idle);
+       presence_mgr = empathy_presence_manager_dup_singleton ();
+       presence = empathy_presence_manager_get_state (presence_mgr);
+       g_object_unref (presence_mgr);
 
        if (presence != TP_CONNECTION_PRESENCE_TYPE_AVAILABLE &&
                presence != TP_CONNECTION_PRESENCE_TYPE_UNSET) {