[gnome-todo/wip/gbsneto/subtasks: 24/37] task: correctly check stop condition



commit fe4fe227af93080d47dc8b6d99a87f6803f7be0b
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date:   Fri Oct 14 11:41:19 2016 -0300

    task: correctly check stop condition

 src/gtd-task.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/gtd-task.c b/src/gtd-task.c
index d29ba97..a06e4da 100644
--- a/src/gtd-task.c
+++ b/src/gtd-task.c
@@ -1488,7 +1488,7 @@ gtd_task_is_subtask (GtdTask *self,
 
       aux = g_queue_pop_head (queue);
     }
-  while (!g_queue_is_empty (queue));
+  while (aux);
 
   g_queue_free (queue);
 


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