diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2009-10-22 22:41:50 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2009-10-22 22:41:50 (GMT) |
commit | 30bc43ca00140bc215d6a1beb81ab5542e68d13b (patch) | |
tree | 205eb23f57545d195e1fcb8141ac80da28409f80 /src/graph/dot.c | |
parent | b649c2c01ab407958f3b7057153fb02c9c7d0be1 (diff) |
Supported scrolling internally and thus fixed bugs with big binaries.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@132 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/graph/dot.c')
-rw-r--r-- | src/graph/dot.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/graph/dot.c b/src/graph/dot.c index 9f8e3b3..27e60bc 100644 --- a/src/graph/dot.c +++ b/src/graph/dot.c @@ -132,7 +132,7 @@ void delete_graph_layout(graph_layout *layout) /****************************************************************************** * * * Paramètres : layout = graphique à supprimer de la mémoire. * -* fixed = support de destination. * +* view = support de destination. * * nodes = liste de noeuds à traiter. * * count = taille de la liste. * * * @@ -144,7 +144,7 @@ void delete_graph_layout(graph_layout *layout) * * ******************************************************************************/ -void place_nodes_of_graph_layout(const graph_layout *layout, GtkFixed *fixed, GGraphNode **nodes, size_t count) +void place_nodes_of_graph_layout(const graph_layout *layout, GtkGraphView *view, GGraphNode **nodes, size_t count) { int height; /* Hauteur du graphique */ node_t *iter; /* Boucle de parcours */ @@ -158,7 +158,7 @@ void place_nodes_of_graph_layout(const graph_layout *layout, GtkFixed *fixed, GG printf(" pos :: (%d ; %d)\n", iter->u.coord.x, height - iter->u.coord.y); node = find_graph_node_by_name(nodes, count, iter->name); - g_graph_node_place(node, fixed, iter->u.coord.x, height - iter->u.coord.y); + g_graph_node_place(node, view, iter->u.coord.x, height - iter->u.coord.y); } } |