[empathy/mc5: 146/483] Correctly implement empathy_account_is_valid



commit 6d2d940c7946eafb807e325af4c87a03570ef383
Author: Sjoerd Simons <sjoerd simons collabora co uk>
Date:   Tue Jul 21 19:27:43 2009 +0100

    Correctly implement empathy_account_is_valid

 libempathy/empathy-account.c |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/libempathy/empathy-account.c b/libempathy/empathy-account.c
index 8d49095..cc982ae 100644
--- a/libempathy/empathy-account.c
+++ b/libempathy/empathy-account.c
@@ -716,10 +716,9 @@ empathy_account_get_display_name (EmpathyAccount *account)
 gboolean
 empathy_account_is_valid (EmpathyAccount *account)
 {
-  //EmpathyAccountPriv *priv = GET_PRIV (account);
+  EmpathyAccountPriv *priv = GET_PRIV (account);
 
-  /* FIXME */
-  return FALSE;
+  return priv->valid;
 }
 
 const gchar *



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