[empathy: 43/59] contact-manager, dispatcher: renamed _new_connection_cb to _status_changed_cb



commit 2bfbe483b3403238bfcbb5e1eefd265fa5783e05
Author: Jonny Lamb <jonnylamb gnome org>
Date:   Sat Oct 24 18:52:57 2009 +0100

    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>

 libempathy/empathy-contact-manager.c |    6 +++---
 libempathy/empathy-dispatcher.c      |    6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/libempathy/empathy-contact-manager.c b/libempathy/empathy-contact-manager.c
index 81189b4..3dc21c3 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 c210aec..5414f64 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);



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