aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy/empathy-account-settings.c
diff options
context:
space:
mode:
Diffstat (limited to 'libempathy/empathy-account-settings.c')
-rw-r--r--libempathy/empathy-account-settings.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libempathy/empathy-account-settings.c b/libempathy/empathy-account-settings.c
index 6b8b0177c..58b0b85ca 100644
--- a/libempathy/empathy-account-settings.c
+++ b/libempathy/empathy-account-settings.c
@@ -201,8 +201,8 @@ empathy_account_settings_constructed (GObject *object)
{
tp_account_prepare_async (priv->account, NULL,
empathy_account_settings_account_ready_cb, self);
- g_signal_connect (priv->managers, "notify::ready",
- G_CALLBACK (empathy_account_settings_managers_ready_cb), self);
+ empathy_signal_connect_weak (priv->managers, "notify::ready",
+ G_CALLBACK (empathy_account_settings_managers_ready_cb), object);
}
if (G_OBJECT_CLASS (