summaryrefslogtreecommitdiff
path: root/src/gtkext
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2014-11-23 18:01:11 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2014-11-23 18:01:11 (GMT)
commit2d833afa673b63a1a61e22ea2cdde59ed60b5ad1 (patch)
tree7049939c48fc5d00cbc2d79102e80a8ab43d07a2 /src/gtkext
parentc711ce814d99acbb9033b80ee465026628001385 (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
Diffstat (limited to 'src/gtkext')
-rw-r--r--src/gtkext/graph/dot.c7
1 files changed, 6 insertions, 1 deletions
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;
}