Rename manager to self to not confuse with account_manager.
authorXavier Claessens <xclaesse@gmail.com>
Tue, 21 Apr 2009 16:08:15 +0000 (18:08 +0200)
committerXavier Claessens <xclaesse@gmail.com>
Wed, 22 Apr 2009 10:21:15 +0000 (12:21 +0200)
libempathy/empathy-contact-manager.c

index 55e709b4566e9c3565a131a151baf0051449a527..66c4514aff7748d7c001aca4048c7fbc3dccf358 100644 (file)
@@ -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