[empathy] libempathy-gtk/empathy-account-chooser.c: use tp_g_signal_connect_object instead of empathy_signal_c
- From: Guillaume Desmottes <gdesmott src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [empathy] libempathy-gtk/empathy-account-chooser.c: use tp_g_signal_connect_object instead of empathy_signal_c
- Date: Fri, 9 Apr 2010 11:43:41 +0000 (UTC)
commit e34f43e96600ce35768cd53540893c6a1bf96f2b
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date: Mon Mar 22 14:34:38 2010 +0100
libempathy-gtk/empathy-account-chooser.c: use tp_g_signal_connect_object instead of empathy_signal_connect_weak
libempathy-gtk/empathy-account-chooser.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/libempathy-gtk/empathy-account-chooser.c b/libempathy-gtk/empathy-account-chooser.c
index 8a93776..14ab5eb 100644
--- a/libempathy-gtk/empathy-account-chooser.c
+++ b/libempathy-gtk/empathy-account-chooser.c
@@ -30,6 +30,7 @@
#include <gtk/gtk.h>
#include <telepathy-glib/account-manager.h>
+#include <telepathy-glib/util.h>
#include <libempathy/empathy-utils.h>
@@ -505,9 +506,9 @@ account_manager_prepared_cb (GObject *source_object,
account_chooser_account_add_foreach (account, chooser);
- empathy_signal_connect_weak (account, "status-changed",
+ tp_g_signal_connect_object (account, "status-changed",
G_CALLBACK (account_chooser_status_changed_cb),
- G_OBJECT (chooser));
+ chooser, 0);
}
g_list_free (accounts);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]