From 2bfbe483b3403238bfcbb5e1eefd265fa5783e05 Mon Sep 17 00:00:00 2001 From: Jonny Lamb Date: Sat, 24 Oct 2009 18:52:57 +0100 Subject: contact-manager, dispatcher: renamed _new_connection_cb to _status_changed_cb https://bugzilla.gnome.org/show_bug.cgi?id=599169#c2 Signed-off-by: Jonny Lamb --- libempathy/empathy-contact-manager.c | 6 +++--- libempathy/empathy-dispatcher.c | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'libempathy') diff --git a/libempathy/empathy-contact-manager.c b/libempathy/empathy-contact-manager.c index 81189b4b5..3dc21c332 100644 --- a/libempathy/empathy-contact-manager.c +++ b/libempathy/empathy-contact-manager.c @@ -132,7 +132,7 @@ contact_manager_disconnect_foreach (gpointer key, } static void -contact_manager_new_connection_cb (TpAccount *account, +contact_manager_status_changed_cb (TpAccount *account, guint old_status, guint new_status, guint reason, @@ -256,12 +256,12 @@ account_manager_prepared_cb (GObject *source_object, TpConnection *conn = tp_account_get_connection (account); if (conn != NULL) { - contact_manager_new_connection_cb (account, 0, 0, 0, + contact_manager_status_changed_cb (account, 0, 0, 0, NULL, NULL, manager); } empathy_signal_connect_weak (account, "status-changed", - G_CALLBACK (contact_manager_new_connection_cb), + G_CALLBACK (contact_manager_status_changed_cb), G_OBJECT (manager)); } g_list_free (accounts); diff --git a/libempathy/empathy-dispatcher.c b/libempathy/empathy-dispatcher.c index c210aecb6..5414f64cd 100644 --- a/libempathy/empathy-dispatcher.c +++ b/libempathy/empathy-dispatcher.c @@ -890,7 +890,7 @@ dispatcher_init_connection_if_needed (EmpathyDispatcher *self, } static void -dispatcher_new_connection_cb (TpAccount *account, +dispatcher_status_changed_cb (TpAccount *account, guint old_status, guint new_status, guint reason, @@ -1133,10 +1133,10 @@ account_manager_prepared_cb (GObject *source_object, TpConnection *conn = tp_account_get_connection (a); if (conn != NULL) - dispatcher_new_connection_cb (a, 0, 0, 0, NULL, NULL, self); + dispatcher_status_changed_cb (a, 0, 0, 0, NULL, NULL, self); empathy_signal_connect_weak (a, "status-changed", - G_CALLBACK (dispatcher_new_connection_cb), + G_CALLBACK (dispatcher_status_changed_cb), G_OBJECT (self)); } g_list_free (accounts); -- cgit v1.2.3