]> git.0d.be Git - empathy.git/commitdiff
account-widget: use tp_g_signal_connect_object to connect on the password-retrieved...
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Tue, 7 Jun 2011 09:39:38 +0000 (11:39 +0200)
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Tue, 7 Jun 2011 09:39:41 +0000 (11:39 +0200)
Thanks to Roland Dreier for the original patch.

libempathy-gtk/empathy-account-widget.c

index 7017efa0645bbe7ee14c90347e539fc451fb72d9..0fe6a6bcc7412eb9c35515fecab6ebbd90c4e3c8 100644 (file)
@@ -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",