[empathy] libempathy-gtk/empathy-account-widget.c: use tp_g_signal_connect_object instead of empathy_signal_co
- From: Guillaume Desmottes <gdesmott src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [empathy] libempathy-gtk/empathy-account-widget.c: use tp_g_signal_connect_object instead of empathy_signal_co
- Date: Fri, 9 Apr 2010 11:43:46 +0000 (UTC)
commit 300328f66a6556ba8b1e54bc679efa77d1defce6
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date: Mon Mar 22 14:34:38 2010 +0100
libempathy-gtk/empathy-account-widget.c: use tp_g_signal_connect_object instead of empathy_signal_connect_weak
libempathy-gtk/empathy-account-widget.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/libempathy-gtk/empathy-account-widget.c b/libempathy-gtk/empathy-account-widget.c
index 23f2760..f548ab9 100644
--- a/libempathy-gtk/empathy-account-widget.c
+++ b/libempathy-gtk/empathy-account-widget.c
@@ -1718,9 +1718,9 @@ do_constructed (GObject *obj)
/* We'll change this button to a "Log in" one if we are creating a new
* account and are connected. */
- empathy_signal_connect_weak (priv->account_manager,
+ tp_g_signal_connect_object (priv->account_manager,
"most-available-presence-changed",
- G_CALLBACK (presence_changed_cb), obj);
+ G_CALLBACK (presence_changed_cb), obj, 0);
gtk_box_pack_end (GTK_BOX (hbox), priv->apply_button, TRUE,
TRUE, 3);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]