aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy/empathy-contact-manager.c
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-03-22 21:34:38 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-04-09 19:06:29 +0800
commitd63220c8c80096490cda7134a9641ad638936759 (patch)
treefe8b80dfafcc09f3632a536a3b00da74781932a1 /libempathy/empathy-contact-manager.c
parentde38f68e54c1d92fb966f15a6f1df888a7dd5677 (diff)
downloadgsoc2013-empathy-d63220c8c80096490cda7134a9641ad638936759.tar
gsoc2013-empathy-d63220c8c80096490cda7134a9641ad638936759.tar.gz
gsoc2013-empathy-d63220c8c80096490cda7134a9641ad638936759.tar.bz2
gsoc2013-empathy-d63220c8c80096490cda7134a9641ad638936759.tar.lz
gsoc2013-empathy-d63220c8c80096490cda7134a9641ad638936759.tar.xz
gsoc2013-empathy-d63220c8c80096490cda7134a9641ad638936759.tar.zst
gsoc2013-empathy-d63220c8c80096490cda7134a9641ad638936759.zip
libempathy/empathy-contact-manager.c: use tp_g_signal_connect_object instead of empathy_signal_connect_weak
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 *