aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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);