[telepathy-glib/master] account: remove unused connect_time private struct member

Jonny Lamb jonny.lamb at collabora.co.uk
Sat Sep 26 06:58:12 PDT 2009


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

diff --git a/telepathy-glib/account.c b/telepathy-glib/account.c
index 35f5d5d..a0c8043 100644
--- a/telepathy-glib/account.c
+++ b/telepathy-glib/account.c
@@ -100,8 +100,6 @@ struct _TpAccountPrivate {
   gboolean enabled;
   gboolean valid;
   gboolean removed;
-  /* Timestamp when the connection got connected in seconds since the epoch */
-  glong connect_time;
 
   gchar *cm_name;
   gchar *proto_name;
@@ -598,14 +596,6 @@ _tp_account_update (TpAccount *account,
 
   if (priv->connection_status != old_s)
     {
-      if (priv->connection_status == TP_CONNECTION_STATUS_CONNECTED)
-        {
-          GTimeVal val;
-          g_get_current_time (&val);
-
-          priv->connect_time = val.tv_sec;
-        }
-
       g_signal_emit (account, signals[STATUS_CHANGED], 0,
           old_s, priv->connection_status, priv->reason, NULL, NULL);
 
-- 
1.5.6.5




More information about the telepathy-commits mailing list