[empathy/mc5: 381/483] no need to check for the size of the hash table



commit b7bc2ba10f00bf35fb6615e9565e69618b1528d3
Author: Sjoerd Simons <sjoerd simons collabora co uk>
Date:   Mon Aug 17 13:18:03 2009 +0100

    no need to check for the size of the hash table

 libempathy/empathy-account-manager.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/libempathy/empathy-account-manager.c b/libempathy/empathy-account-manager.c
index 45d9068..0bc0fe6 100644
--- a/libempathy/empathy-account-manager.c
+++ b/libempathy/empathy-account-manager.c
@@ -496,8 +496,7 @@ do_dispose (GObject *obj)
 
   priv->dispose_run = TRUE;
 
-  if (priv->create_results != NULL &&
-      g_hash_table_size (priv->create_results) > 0)
+  if (priv->create_results != NULL)
     {
       /* the manager is being destroyed while there are account creation
        * processes pending; this should not happen, but emit the callbacks



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