[empathy] src/empathy-status-icon.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-status-icon.c: use tp_g_signal_connect_object instead of empathy_signal_connect_weak
- Date: Fri, 9 Apr 2010 11:44:41 +0000 (UTC)
commit 4a764bfb273808bf08c2504cad952e1c4eb32a8d
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date: Mon Mar 22 14:34:38 2010 +0100
src/empathy-status-icon.c: use tp_g_signal_connect_object instead of empathy_signal_connect_weak
src/empathy-status-icon.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/empathy-status-icon.c b/src/empathy-status-icon.c
index 36953a3..8140969 100644
--- a/src/empathy-status-icon.c
+++ b/src/empathy-status-icon.c
@@ -601,9 +601,9 @@ account_manager_prepared_cb (GObject *source_object,
list = tp_account_manager_get_valid_accounts (account_manager);
for (l = list; l != NULL; l = l->next) {
- empathy_signal_connect_weak (l->data, "status-changed",
+ tp_g_signal_connect_object (l->data, "status-changed",
G_CALLBACK (status_icon_status_changed_cb),
- G_OBJECT (icon));
+ icon, 0);
}
g_list_free (list);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]