aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy/empathy-contact-manager.c
diff options
context:
space:
mode:
Diffstat (limited to 'libempathy/empathy-contact-manager.c')
-rw-r--r--libempathy/empathy-contact-manager.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/libempathy/empathy-contact-manager.c b/libempathy/empathy-contact-manager.c
index 95f5623b9..e0b51aafa 100644
--- a/libempathy/empathy-contact-manager.c
+++ b/libempathy/empathy-contact-manager.c
@@ -193,9 +193,9 @@ contact_manager_validity_changed_cb (TpAccountManager *account_manager,
EmpathyContactManager *manager)
{
if (valid) {
- empathy_signal_connect_weak (account, "status-changed",
+ tp_g_signal_connect_object (account, "status-changed",
G_CALLBACK (contact_manager_status_changed_cb),
- G_OBJECT (manager));
+ manager, 0);
}
}
@@ -459,15 +459,15 @@ account_manager_prepared_cb (GObject *source_object,
NULL, NULL, manager);
}
- empathy_signal_connect_weak (account, "status-changed",
+ tp_g_signal_connect_object (account, "status-changed",
G_CALLBACK (contact_manager_status_changed_cb),
- G_OBJECT (manager));
+ manager, 0);
}
g_list_free (accounts);
- empathy_signal_connect_weak (account_manager, "account-validity-changed",
+ tp_g_signal_connect_object (account_manager, "account-validity-changed",
G_CALLBACK (contact_manager_validity_changed_cb),
- G_OBJECT (manager));
+ manager, 0);
}
static EmpathyContact *