[telepathy-glib/master] account: removed useless code from _set_connection

Jonny Lamb jonny.lamb at collabora.co.uk
Sat Sep 26 07:44:27 PDT 2009


Signed-off-by: Jonny Lamb <jonny.lamb at collabora.co.uk>
---
 telepathy-glib/account.c |    8 --------
 1 files changed, 0 insertions(+), 8 deletions(-)

diff --git a/telepathy-glib/account.c b/telepathy-glib/account.c
index 101db54..7278be5 100644
--- a/telepathy-glib/account.c
+++ b/telepathy-glib/account.c
@@ -382,14 +382,6 @@ _tp_account_set_connection (TpAccount *account,
           g_error_free (error);
         }
     }
-  else
-    {
-      if (priv->connection != NULL)
-        {
-          /* Connection was invalidated. */
-          _tp_account_free_connection (account);
-        }
-    }
 
   g_object_notify (G_OBJECT (account), "connection");
 }
-- 
1.5.6.5




More information about the telepathy-commits mailing list