[empathy/gnome-3-0] account-widget: use tp_g_signal_connect_object to connect on the password-retrieved signal (#652015)
- From: Guillaume Desmottes <gdesmott src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [empathy/gnome-3-0] account-widget: use tp_g_signal_connect_object to connect on the password-retrieved signal (#652015)
- Date: Tue, 7 Jun 2011 09:42:55 +0000 (UTC)
commit 9a338b84bfe496b9a244faa4820ed46f94f00092
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date: Tue Jun 7 11:39:38 2011 +0200
account-widget: use tp_g_signal_connect_object to connect on the password-retrieved signal (#652015)
Thanks to Roland Dreier for the original patch.
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 b562cf1..9d9e1f3 100644
--- a/libempathy-gtk/empathy-account-widget.c
+++ b/libempathy-gtk/empathy-account-widget.c
@@ -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",
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]