[gegl] gegl: Do breadth first traversal in gegl-dot.c
- From: Martin Nordholts <martinn src gnome org>
- To: svn-commits-list gnome org
- Subject: [gegl] gegl: Do breadth first traversal in gegl-dot.c
- Date: Tue, 26 May 2009 16:26:09 -0400 (EDT)
commit 05e3f565085c5908aa89b438ad7bdc0014d0bd05
Author: Martin Nordholts <martinn src gnome org>
Date: Tue May 26 22:09:09 2009 +0200
gegl: Do breadth first traversal in gegl-dot.c
Do breadth first traversal in gegl-dot.c since that is slightly easier
to interactively debug.
---
gegl/gegl-dot.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/gegl/gegl-dot.c b/gegl/gegl-dot.c
index 75e897c..0288bb9 100644
--- a/gegl/gegl-dot.c
+++ b/gegl/gegl-dot.c
@@ -263,7 +263,7 @@ gegl_dot_add_node_and_dependencies (GString *string,
string);
/* Add the nodes */
- gegl_visitor_dfs_traverse (GEGL_VISITOR (dot_visitor),
+ gegl_visitor_bfs_traverse (GEGL_VISITOR (dot_visitor),
GEGL_VISITABLE (node));
/* Add the edges */
@@ -286,7 +286,7 @@ gegl_dot_add_node_and_dependencies (GString *string,
}
- gegl_visitor_dfs_traverse (GEGL_VISITOR (dot_visitor),
+ gegl_visitor_bfs_traverse (GEGL_VISITOR (dot_visitor),
GEGL_VISITABLE (pad));
g_object_unref (dot_visitor);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]