[gnome-todo/wip/lists] manager: better check for loaded sources



commit dbc09d17f003cee73af3d51e25f4e3c0d25978aa
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date:   Fri Jun 12 20:40:07 2015 -0300

    manager: better check for loaded sources

 src/gtd-manager.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/gtd-manager.c b/src/gtd-manager.c
index 884bf6b..470f9a2 100644
--- a/src/gtd-manager.c
+++ b/src/gtd-manager.c
@@ -585,7 +585,7 @@ gtd_manager__on_client_connected (GObject      *source_object,
   /* Update ready flag */
   priv->load_sources--;
   gtd_object_set_ready (GTD_OBJECT (user_data),
-                        priv->load_sources == 0);
+                        priv->load_sources <= 0);
 
   if (!error)
     {


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