[gnome-builder] project-tree: track changes in libdazzle



commit 42ae9cc2246d203a9534a0bacda6101c0e0f05b1
Author: Christian Hergert <chergert redhat com>
Date:   Sat Dec 9 01:35:05 2017 -0800

    project-tree: track changes in libdazzle
    
    I've decided to disambiguate the process of building a node from
    the process of adding children to the node. This allows for
    ancillary builders to add information to a node without forcing
    the primary node builder to add children (breaking the lazy
    model of building).

 src/plugins/project-tree/gb-project-tree-builder.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/plugins/project-tree/gb-project-tree-builder.c 
b/src/plugins/project-tree/gb-project-tree-builder.c
index a6b6936..b07575d 100644
--- a/src/plugins/project-tree/gb-project-tree-builder.c
+++ b/src/plugins/project-tree/gb-project-tree-builder.c
@@ -408,8 +408,8 @@ build_file (GbProjectTreeBuilder *self,
 }
 
 static void
-gb_project_tree_builder_build_node (DzlTreeBuilder *builder,
-                                    DzlTreeNode    *node)
+gb_project_tree_builder_build_children (DzlTreeBuilder *builder,
+                                        DzlTreeNode    *node)
 {
   GbProjectTreeBuilder *self = (GbProjectTreeBuilder *)builder;
   GObject *item;
@@ -874,7 +874,7 @@ gb_project_tree_builder_class_init (GbProjectTreeBuilderClass *klass)
 
   object_class->dispose = gb_project_tree_builder_dispose;
 
-  tree_builder_class->build_node = gb_project_tree_builder_build_node;
+  tree_builder_class->build_children = gb_project_tree_builder_build_children;
   tree_builder_class->drag_data_get = gb_project_tree_builder_drag_data_get;
   tree_builder_class->drag_data_received = gb_project_tree_builder_drag_data_received;
   tree_builder_class->drag_node_received = gb_project_tree_builder_drag_node_received;


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