Commit 9a338b84 authored by Guillaume Desmottes's avatar Guillaume Desmottes

account-widget: use tp_g_signal_connect_object to connect on the...

account-widget: use tp_g_signal_connect_object to connect on the password-retrieved signal (#652015)

Thanks to Roland Dreier for the original patch.
parent a415291a
......@@ -2229,8 +2229,8 @@ do_constructed (GObject *obj)
/* The password might not have been retrieved from the
* keyring yet. We should update the remember password
* toggle button and the password entry when/if it is. */
g_signal_connect (priv->settings, "password-retrieved",
G_CALLBACK (account_settings_password_retrieved_cb), self);
tp_g_signal_connect_object (priv->settings, "password-retrieved",
G_CALLBACK (account_settings_password_retrieved_cb), self, 0);
}
g_signal_connect (priv->remember_password_widget, "toggled",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment