[anjuta] pm: Fix missing source notifications



commit 568b289b6a6d8b20910e5eb182bc1c195f0293d0
Author: Sébastien Granjoux <seb sfo free fr>
Date:   Sat Jan 2 19:05:22 2010 +0100

    pm: Fix missing source notifications

 plugins/project-manager/gbf-project-util.c |   12 +++++-------
 1 files changed, 5 insertions(+), 7 deletions(-)
---
diff --git a/plugins/project-manager/gbf-project-util.c b/plugins/project-manager/gbf-project-util.c
index 0b6b1fc..a36f397 100644
--- a/plugins/project-manager/gbf-project-util.c
+++ b/plugins/project-manager/gbf-project-util.c
@@ -809,18 +809,16 @@ gbf_project_util_node_all (AnjutaProjectNode *parent, AnjutaProjectNodeType type
  
     for (node = anjuta_project_node_first_child (parent); node != NULL; node = anjuta_project_node_next_sibling (node))
     {
+        GList *child_list;
+        
         if (anjuta_project_node_get_type (node) == type)
         {
             list = g_list_prepend (list, node);
         }
-        if (anjuta_project_node_get_type (node) == ANJUTA_PROJECT_GROUP)
-        {
-            GList *child_list;
  
-            child_list = gbf_project_util_node_all (node, type);
-            child_list = g_list_reverse (child_list);
-            list = g_list_concat (child_list, list);
-        }
+        child_list = gbf_project_util_node_all (node, type);
+        child_list = g_list_reverse (child_list);
+        list = g_list_concat (child_list, list);
     }
  
     list = g_list_reverse (list);



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