From 2d833afa673b63a1a61e22ea2cdde59ed60b5ad1 Mon Sep 17 00:00:00 2001 From: Cyrille Bagard Date: Sun, 23 Nov 2014 18:01:11 +0000 Subject: 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 --- ChangeLog | 5 +++++ src/gtkext/graph/dot.c | 7 ++++++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 3fe0858..f3de613 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +14-11-23 Cyrille Bagard + + * src/gtkext/graph/dot.c: + Disable some parts of Graphviz in order to be able to compile. + 14-11-15 Cyrille Bagard * 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; } -- cgit v0.11.2-87-g4458