diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2014-11-23 18:01:11 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2014-11-23 18:01:11 (GMT) |
commit | 2d833afa673b63a1a61e22ea2cdde59ed60b5ad1 (patch) | |
tree | 7049939c48fc5d00cbc2d79102e80a8ab43d07a2 | |
parent | c711ce814d99acbb9033b80ee465026628001385 (diff) |
Disabled some parts of Graphviz in order to be able to compile.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@422 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | src/gtkext/graph/dot.c | 7 |
2 files changed, 11 insertions, 1 deletions
@@ -1,3 +1,8 @@ +14-11-23 Cyrille Bagard <nocbos@gmail.com> + + * src/gtkext/graph/dot.c: + Disable some parts of Graphviz in order to be able to compile. + 14-11-15 Cyrille Bagard <nocbos@gmail.com> * po/fr.po: diff --git a/src/gtkext/graph/dot.c b/src/gtkext/graph/dot.c index 3d4da7d..30aeaee 100644 --- a/src/gtkext/graph/dot.c +++ b/src/gtkext/graph/dot.c @@ -152,6 +152,7 @@ void delete_graph_layout(graph_layout *layout) void place_nodes_of_graph_layout(const graph_layout *layout, GtkGraphView *view, GGraphNode **nodes, size_t count) { +#if 0 int height; /* Hauteur du graphique */ node_t *iter; /* Boucle de parcours */ GGraphNode *node; /* Intermédiaire concerné */ @@ -168,7 +169,7 @@ void place_nodes_of_graph_layout(const graph_layout *layout, GtkGraphView *view, g_graph_node_place_old(node, view, iter->u.coord.x, height - iter->u.coord.y); } - +#endif } @@ -189,6 +190,7 @@ void place_nodes_of_graph_layout(const graph_layout *layout, GtkGraphView *view, GtkLinkRenderer **create_links_from_graph_layout(const graph_layout *layout, size_t *count, GGraphNode **nodes, size_t ncount) { +#if 0 GtkLinkRenderer **result; /* Liste à retourner */ int height; /* Hauteur du graphique */ node_t *niter; /* Boucle de parcours #1 */ @@ -281,5 +283,8 @@ GtkLinkRenderer **create_links_from_graph_layout(const graph_layout *layout, siz } return result; +#endif + + return NULL; } |