From e55ee9e0a53d9f51aac4a1c94af38bed1e048e72 Mon Sep 17 00:00:00 2001 From: Guillaume Desmottes Date: Mon, 22 Mar 2010 14:34:38 +0100 Subject: src/empathy-accounts-dialog.c: use tp_g_signal_connect_object instead of empathy_signal_connect_weak --- src/empathy-accounts-dialog.c | 12 ++++++------ 1 file 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); } -- cgit v1.2.3