summaryrefslogtreecommitdiff
path: root/src/gtkext/graph/layout.c
diff options
context:
space:
mode:
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);