[empathy] src/empathy-accounts-dialog.c: use tp_g_signal_connect_object instead of empathy_signal_connect_weak
- From: Guillaume Desmottes <gdesmott src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [empathy] src/empathy-accounts-dialog.c: use tp_g_signal_connect_object instead of empathy_signal_connect_weak
- Date: Fri, 9 Apr 2010 11:44:26 +0000 (UTC)
commit e55ee9e0a53d9f51aac4a1c94af38bed1e048e72
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date: Mon Mar 22 14:34:38 2010 +0100
src/empathy-accounts-dialog.c: use tp_g_signal_connect_object instead of empathy_signal_connect_weak
src/empathy-accounts-dialog.c | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/src/empathy-accounts-dialog.c b/src/empathy-accounts-dialog.c
index b8c6d4a..f76d509 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);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]