aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libempathy/empathy-contact-manager.c6
-rw-r--r--libempathy/empathy-dispatcher.c6
2 files changed, 6 insertions, 6 deletions
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);