aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonny Lamb <jonnylamb@gnome.org>2009-10-25 01:52:57 +0800
committerJonny Lamb <jonnylamb@gnome.org>2009-10-25 01:52:57 +0800
commit2bfbe483b3403238bfcbb5e1eefd265fa5783e05 (patch)
tree525649d120df0a8ad91be7882f432a748ed1f8a4
parentc4fdd8511467729baed7df2db9b40d8eea16a38a (diff)
downloadgsoc2013-empathy-2bfbe483b3403238bfcbb5e1eefd265fa5783e05.tar
gsoc2013-empathy-2bfbe483b3403238bfcbb5e1eefd265fa5783e05.tar.gz
gsoc2013-empathy-2bfbe483b3403238bfcbb5e1eefd265fa5783e05.tar.bz2
gsoc2013-empathy-2bfbe483b3403238bfcbb5e1eefd265fa5783e05.tar.lz
gsoc2013-empathy-2bfbe483b3403238bfcbb5e1eefd265fa5783e05.tar.xz
gsoc2013-empathy-2bfbe483b3403238bfcbb5e1eefd265fa5783e05.tar.zst
gsoc2013-empathy-2bfbe483b3403238bfcbb5e1eefd265fa5783e05.zip
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 <jonnylamb@gnome.org>
-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);