aboutsummaryrefslogtreecommitdiffstats
path: root/src
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:30 +0800
commite55ee9e0a53d9f51aac4a1c94af38bed1e048e72 (patch)
tree91b60748ac98eecfad4a2dd2ac57152cd561ab0c /src
parent697c8d943e237bb023a844b29c14019a566fa47b (diff)
downloadgsoc2013-empathy-e55ee9e0a53d9f51aac4a1c94af38bed1e048e72.tar
gsoc2013-empathy-e55ee9e0a53d9f51aac4a1c94af38bed1e048e72.tar.gz
gsoc2013-empathy-e55ee9e0a53d9f51aac4a1c94af38bed1e048e72.tar.bz2
gsoc2013-empathy-e55ee9e0a53d9f51aac4a1c94af38bed1e048e72.tar.lz
gsoc2013-empathy-e55ee9e0a53d9f51aac4a1c94af38bed1e048e72.tar.xz
gsoc2013-empathy-e55ee9e0a53d9f51aac4a1c94af38bed1e048e72.tar.zst
gsoc2013-empathy-e55ee9e0a53d9f51aac4a1c94af38bed1e048e72.zip
src/empathy-accounts-dialog.c: use tp_g_signal_connect_object instead of empathy_signal_connect_weak
Diffstat (limited to 'src')
-rw-r--r--src/empathy-accounts-dialog.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/empathy-accounts-dialog.c b/src/empathy-accounts-dialog.c
index b8c6d4a5b..f76d5092c 100644
--- a/src/empathy-accounts-dialog.c
+++ b/src/empathy-accounts-dialog.c
@@ -1664,14 +1664,14 @@ accounts_dialog_add_account (EmpathyAccountsDialog *dialog,
NULL,
dialog);
- empathy_signal_connect_weak (account, "notify::display-name",
+ tp_g_signal_connect_object (account, "notify::display-name",
G_CALLBACK (accounts_dialog_account_display_name_changed_cb),
- G_OBJECT (dialog));
+ dialog, 0);
- empathy_signal_connect_weak (account, "status-changed",
- G_CALLBACK (accounts_dialog_connection_changed_cb), G_OBJECT (dialog));
- empathy_signal_connect_weak (account, "presence-changed",
- G_CALLBACK (accounts_dialog_presence_changed_cb), G_OBJECT (dialog));
+ tp_g_signal_connect_object (account, "status-changed",
+ G_CALLBACK (accounts_dialog_connection_changed_cb), dialog, 0);
+ tp_g_signal_connect_object (account, "presence-changed",
+ G_CALLBACK (accounts_dialog_presence_changed_cb), dialog, 0);
g_object_unref (settings);
}