diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2011-06-07 17:39:38 +0800 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2011-06-07 17:39:41 +0800 |
commit | a662a6d379b9f619647a87a07177cc63d7133ad1 (patch) | |
tree | 9109727a6fe4bb0b8a086281b1ba6e8ad37c8665 /libempathy-gtk/empathy-account-widget.c | |
parent | 24bfa52b2a137a2bdafceba1fee199a06a9509ec (diff) | |
download | gsoc2013-empathy-a662a6d379b9f619647a87a07177cc63d7133ad1.tar gsoc2013-empathy-a662a6d379b9f619647a87a07177cc63d7133ad1.tar.gz gsoc2013-empathy-a662a6d379b9f619647a87a07177cc63d7133ad1.tar.bz2 gsoc2013-empathy-a662a6d379b9f619647a87a07177cc63d7133ad1.tar.lz gsoc2013-empathy-a662a6d379b9f619647a87a07177cc63d7133ad1.tar.xz gsoc2013-empathy-a662a6d379b9f619647a87a07177cc63d7133ad1.tar.zst gsoc2013-empathy-a662a6d379b9f619647a87a07177cc63d7133ad1.zip |
account-widget: use tp_g_signal_connect_object to connect on the password-retrieved signal (#652015)
Thanks to Roland Dreier for the original patch.
Diffstat (limited to 'libempathy-gtk/empathy-account-widget.c')
-rw-r--r-- | 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 7017efa06..0fe6a6bcc 100644 --- a/libempathy-gtk/empathy-account-widget.c +++ b/libempathy-gtk/empathy-account-widget.c @@ -2098,8 +2098,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", |