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



commit a662a6d379b9f619647a87a07177cc63d7133ad1
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 7017efa..0fe6a6b 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",



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]