diff options
Diffstat (limited to 'src/graph')
-rw-r--r-- | src/graph/node.c | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/src/graph/node.c b/src/graph/node.c index 3e6cc14..0d278f3 100644 --- a/src/graph/node.c +++ b/src/graph/node.c @@ -203,17 +203,12 @@ char *g_graph_node_register_for_dot(const GGraphNode *node, char *cmds) cmds = stradd(cmds, node->name); cmds = stradd(cmds, " [shape=box, fixedsize "); - - printf(" req=(%d ; %d) -->> (%g ; %g)\n", - requisition.width, - requisition.height, - requisition.width / G_GRAPH_NODE_GET_CLASS(node)->dpi_x, - requisition.height / G_GRAPH_NODE_GET_CLASS(node)->dpi_y); - - snprintf(buffer, 128, ", width=\"%g\"", requisition.width / G_GRAPH_NODE_GET_CLASS(node)->dpi_x); + snprintf(buffer, 128, ", width=\"%g\"", + requisition.width / G_GRAPH_NODE_GET_CLASS(node)->dpi_x); cmds = stradd(cmds, buffer); - snprintf(buffer, 128, ", height=\"%g\"", requisition.height / G_GRAPH_NODE_GET_CLASS(node)->dpi_y); + snprintf(buffer, 128, ", height=\"%g\"", + requisition.height / G_GRAPH_NODE_GET_CLASS(node)->dpi_y); cmds = stradd(cmds, buffer); cmds = stradd(cmds, "];\n"); |