diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2011-01-25 18:13:51 +0800 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2011-01-25 19:28:16 +0800 |
commit | c9f2cd4f71e619f5a418090981afebbef43226c1 (patch) | |
tree | 3a4f9841fe6c1432cac75573796ce1bac1966b2c /libempathy/empathy-utils.c | |
parent | 8b4a09ed7450b0b3d806d0996d174f911e4c3352 (diff) | |
download | gsoc2013-empathy-c9f2cd4f71e619f5a418090981afebbef43226c1.tar.gz gsoc2013-empathy-c9f2cd4f71e619f5a418090981afebbef43226c1.tar.zst gsoc2013-empathy-c9f2cd4f71e619f5a418090981afebbef43226c1.zip |
rename EmpathyIdle to EmpathyPresenceManager (#640532)
It's doing more than idle management now.
Diffstat (limited to 'libempathy/empathy-utils.c')
-rw-r--r-- | libempathy/empathy-utils.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libempathy/empathy-utils.c b/libempathy/empathy-utils.c index 6bbd53f86..3730e43a8 100644 --- a/libempathy/empathy-utils.c +++ b/libempathy/empathy-utils.c @@ -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) { |