summaryrefslogtreecommitdiff
path: root/src/gtkext/graph/layout.c
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2013-05-26 10:49:51 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2013-05-26 10:49:51 (GMT)
commitd80df591b6104c98d21e1db5143610fb84e35941 (patch)
treeb17d441e544b68f8433c45ba8a177242317a3bce /src/gtkext/graph/layout.c
parent114e769bc9c3dc48f0293f080d687451e32220e3 (diff)
Improved the graph rendering.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@347 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/gtkext/graph/layout.c')
-rw-r--r--src/gtkext/graph/layout.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gtkext/graph/layout.c b/src/gtkext/graph/layout.c
index 0a14854..43caf44 100644
--- a/src/gtkext/graph/layout.c
+++ b/src/gtkext/graph/layout.c
@@ -655,7 +655,7 @@ void g_graph_layout_refresh(GGraphLayout *layout)
/* Traitement des positions horizontales */
g_graph_node_set_position(layout->nodes, (gint []) { 0 }, NULL);
- g_virtual_node_organize_x_line(G_VIRTUAL_NODE(layout->nodes));
+ g_virtual_node_organize_x_line(G_VIRTUAL_NODE(layout->nodes), layout->nodes);
for (i = 0; i < layout->edges_count; i++)
g_graph_edge_reserve_horizontal_space(layout->edges[i], layout->ranks);