[frogr] Fixed wrong condition to keep a GSource busy



commit a54671f6080b3dd9cdd697de71e8d1df6586fc20
Author: Mario Sanchez Prada <msanchez igalia com>
Date:   Sun Aug 14 20:13:50 2011 +0200

    Fixed wrong condition to keep a GSource busy

 src/frogr-controller.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/frogr-controller.c b/src/frogr-controller.c
index 7529984..1cd9ca7 100644
--- a/src/frogr-controller.c
+++ b/src/frogr-controller.c
@@ -938,7 +938,7 @@ _add_picture_to_groups_on_idle (gpointer data)
   session = priv->session;
 
   /* Keep the source while busy */
-  if (priv->adding_to_set)
+  if (priv->setting_license || priv->setting_location || priv->adding_to_set)
     return TRUE;
 
   /* Add pictures to groups, if any */



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