From c96ce108a6988c37e05ee6f9d9fb91ef9c09f1c1 Mon Sep 17 00:00:00 2001 From: Xavier Claessens Date: Tue, 21 Apr 2009 18:08:15 +0200 Subject: [PATCH] Rename manager to self to not confuse with account_manager. --- libempathy/empathy-contact-manager.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/libempathy/empathy-contact-manager.c b/libempathy/empathy-contact-manager.c index 55e709b4..66c4514a 100644 --- a/libempathy/empathy-contact-manager.c +++ b/libempathy/empathy-contact-manager.c @@ -130,9 +130,9 @@ contact_manager_invalidated_cb (TpProxy *connection, static void contact_manager_new_connection_cb (EmpathyAccountManager *account_manager, TpConnection *connection, - EmpathyContactManager *manager) + EmpathyContactManager *self) { - EmpathyContactManagerPriv *priv = GET_PRIV (manager); + EmpathyContactManagerPriv *priv = GET_PRIV (self); EmpathyTpContactList *list; if (g_hash_table_lookup (priv->lists, connection)) { @@ -146,18 +146,18 @@ contact_manager_new_connection_cb (EmpathyAccountManager *account_manager, g_hash_table_insert (priv->lists, g_object_ref (connection), list); g_signal_connect (connection, "invalidated", G_CALLBACK (contact_manager_invalidated_cb), - manager); + self); /* Connect signals */ g_signal_connect (list, "members-changed", G_CALLBACK (contact_manager_members_changed_cb), - manager); + self); g_signal_connect (list, "pendings-changed", G_CALLBACK (contact_manager_pendings_changed_cb), - manager); + self); g_signal_connect (list, "groups-changed", G_CALLBACK (contact_manager_groups_changed_cb), - manager); + self); } static void -- 2.39.2