[Telepathy-commits] [telepathy-mission-control/master] Make sure that the account knows about the connection

Alberto Mardegan alberto.mardegan at nokia.com
Mon Feb 16 04:55:48 PST 2009


Call _mcd_account_set_connection() when the account property is set
---
 src/mcd-connection.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/mcd-connection.c b/src/mcd-connection.c
index 5d95384..2eeb59c 100644
--- a/src/mcd-connection.c
+++ b/src/mcd-connection.c
@@ -1756,6 +1756,7 @@ _mcd_connection_set_property (GObject * obj, guint prop_id,
         g_signal_connect (priv->account, "removed",
                           G_CALLBACK (on_account_removed),
                           obj);
+        _mcd_account_set_connection (account, MCD_CONNECTION (obj));
 	break;
     default:
 	G_OBJECT_WARN_INVALID_PROPERTY_ID (obj, prop_id, pspec);
-- 
1.5.6.5




More information about the telepathy-commits mailing list