From 78d68b6e3d67526e86b2da55f5eeda2ac675a665 Mon Sep 17 00:00:00 2001 From: Guillaume Desmottes Date: Mon, 22 Mar 2010 14:34:38 +0100 Subject: libempathy/empathy-idle.c: use tp_g_signal_connect_object instead of empathy_signal_connect_weak --- libempathy/empathy-idle.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libempathy/empathy-idle.c b/libempathy/empathy-idle.c index b672e1afe..12686daa4 100644 --- a/libempathy/empathy-idle.c +++ b/libempathy/empathy-idle.c @@ -503,9 +503,9 @@ account_manager_ready_cb (GObject *source_object, accounts = tp_account_manager_get_valid_accounts (priv->manager); for (l = accounts; l != NULL; l = l->next) { - empathy_signal_connect_weak (l->data, "status-changed", + tp_g_signal_connect_object (l->data, "status-changed", G_CALLBACK (account_status_changed_cb), - G_OBJECT (idle)); + idle, 0); } g_list_free (accounts); -- cgit v1.2.3