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 /src/empathy-event-manager.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 'src/empathy-event-manager.c')
-rw-r--r-- | src/empathy-event-manager.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/empathy-event-manager.c b/src/empathy-event-manager.c index c7dd660a0..b20f1719f 100644 --- a/src/empathy-event-manager.c +++ b/src/empathy-event-manager.c @@ -29,7 +29,7 @@ #include <telepathy-glib/interfaces.h> #include <telepathy-glib/simple-approver.h> -#include <libempathy/empathy-idle.h> +#include <libempathy/empathy-presence-manager.h> #include <libempathy/empathy-tp-contact-factory.h> #include <libempathy/empathy-contact-manager.h> #include <libempathy/empathy-tp-chat.h> @@ -1092,13 +1092,13 @@ event_manager_presence_changed_cb (EmpathyContact *contact, EmpathyEventManagerPriv *priv = GET_PRIV (manager); TpAccount *account; gchar *header = NULL; - EmpathyIdle *idle; + EmpathyPresenceManager *presence_mgr; GtkWidget *window = empathy_main_window_dup (); account = empathy_contact_get_account (contact); - idle = empathy_idle_dup_singleton (); + presence_mgr = empathy_presence_manager_dup_singleton (); - if (empathy_idle_account_is_just_connected (idle, account)) + if (empathy_presence_manager_account_is_just_connected (presence_mgr, account)) goto out; if (tp_connection_presence_type_cmp_availability (previous, @@ -1149,7 +1149,7 @@ event_manager_presence_changed_cb (EmpathyContact *contact, g_free (header); out: - g_object_unref (idle); + g_object_unref (presence_mgr); g_object_unref (window); } |