[empathy] Rename manager to self to not confuse with account_manager.



commit c96ce108a6988c37e05ee6f9d9fb91ef9c09f1c1
Author: Xavier Claessens <xclaesse gmail com>
Date:   Tue Apr 21 18:08:15 2009 +0200

    Rename manager to self to not confuse with account_manager.
---
 libempathy/empathy-contact-manager.c |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/libempathy/empathy-contact-manager.c b/libempathy/empathy-contact-manager.c
index 55e709b..66c4514 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



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]