aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-account-widget.c
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-03-22 21:34:38 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-04-09 19:06:29 +0800
commit300328f66a6556ba8b1e54bc679efa77d1defce6 (patch)
treec955bcd226264f9161b3fe4e9a9c08864321a9f6 /libempathy-gtk/empathy-account-widget.c
parente34f43e96600ce35768cd53540893c6a1bf96f2b (diff)
downloadgsoc2013-empathy-300328f66a6556ba8b1e54bc679efa77d1defce6.tar
gsoc2013-empathy-300328f66a6556ba8b1e54bc679efa77d1defce6.tar.gz
gsoc2013-empathy-300328f66a6556ba8b1e54bc679efa77d1defce6.tar.bz2
gsoc2013-empathy-300328f66a6556ba8b1e54bc679efa77d1defce6.tar.lz
gsoc2013-empathy-300328f66a6556ba8b1e54bc679efa77d1defce6.tar.xz
gsoc2013-empathy-300328f66a6556ba8b1e54bc679efa77d1defce6.tar.zst
gsoc2013-empathy-300328f66a6556ba8b1e54bc679efa77d1defce6.zip
libempathy-gtk/empathy-account-widget.c: use tp_g_signal_connect_object instead of empathy_signal_connect_weak
Diffstat (limited to 'libempathy-gtk/empathy-account-widget.c')
-rw-r--r--libempathy-gtk/empathy-account-widget.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libempathy-gtk/empathy-account-widget.c b/libempathy-gtk/empathy-account-widget.c
index 23f2760b3..f548ab95c 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);