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-account-settings.c | |
parent | 8b4a09ed7450b0b3d806d0996d174f911e4c3352 (diff) | |
download | gsoc2013-empathy-c9f2cd4f71e619f5a418090981afebbef43226c1.tar gsoc2013-empathy-c9f2cd4f71e619f5a418090981afebbef43226c1.tar.gz gsoc2013-empathy-c9f2cd4f71e619f5a418090981afebbef43226c1.tar.bz2 gsoc2013-empathy-c9f2cd4f71e619f5a418090981afebbef43226c1.tar.lz gsoc2013-empathy-c9f2cd4f71e619f5a418090981afebbef43226c1.tar.xz 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-account-settings.c')
-rw-r--r-- | libempathy/empathy-account-settings.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/libempathy/empathy-account-settings.c b/libempathy/empathy-account-settings.c index a90aaa8f4..8c673dfcf 100644 --- a/libempathy/empathy-account-settings.c +++ b/libempathy/empathy-account-settings.c @@ -31,7 +31,7 @@ #include "empathy-connection-managers.h" #include "empathy-keyring.h" #include "empathy-utils.h" -#include "empathy-idle.h" +#include "empathy-presence-manager.h" #define DEBUG_FLAG EMPATHY_DEBUG_ACCOUNT #include <libempathy/empathy-debug.h> @@ -1499,13 +1499,14 @@ empathy_account_settings_do_create_account (EmpathyAccountSettings *settings) TpConnectionPresenceType type; gchar *status; gchar *message; - EmpathyIdle *idle; + EmpathyPresenceManager *presence_mgr; properties = tp_asv_new (NULL, NULL); - idle = empathy_idle_dup_singleton (); - type = empathy_idle_get_requested_presence (idle, &status, &message); - g_object_unref (idle); + presence_mgr = empathy_presence_manager_dup_singleton (); + type = empathy_presence_manager_get_requested_presence (presence_mgr, &status, + &message); + g_object_unref (presence_mgr); if (type != TP_CONNECTION_PRESENCE_TYPE_UNSET) { |