[empathy] libempathy-gtk/empathy-location-manager.c: use tp_g_signal_connect_object instead of empathy_signal_



commit 4a007b35a3aa479fdd937137efccc6a3607fe1f9
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date:   Mon Mar 22 15:40:22 2010 +0100

    libempathy-gtk/empathy-location-manager.c: use tp_g_signal_connect_object instead of empathy_signal_connect_weak

 libempathy-gtk/empathy-location-manager.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/libempathy-gtk/empathy-location-manager.c b/libempathy-gtk/empathy-location-manager.c
index 0422f5c..0165052 100644
--- a/libempathy-gtk/empathy-location-manager.c
+++ b/libempathy-gtk/empathy-location-manager.c
@@ -694,8 +694,8 @@ account_manager_prepared_cb (GObject *source_object,
     {
       TpAccount *account = TP_ACCOUNT (l->data);
 
-      empathy_signal_connect_weak (account, "status-changed",
-          G_CALLBACK (new_connection_cb), G_OBJECT (self));
+      tp_g_signal_connect_object (account, "status-changed",
+          G_CALLBACK (new_connection_cb), self, 0);
     }
   g_list_free (accounts);
 }



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