diff options
Diffstat (limited to 'src/gtkext/graph/nodes')
-rw-r--r-- | src/gtkext/graph/nodes/flow.c | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/src/gtkext/graph/nodes/flow.c b/src/gtkext/graph/nodes/flow.c index 863d86c..d691da5 100644 --- a/src/gtkext/graph/nodes/flow.c +++ b/src/gtkext/graph/nodes/flow.c @@ -474,21 +474,6 @@ bool g_flow_node_start_with(const GFlowNode *node, GArchInstruction *instr) g_flow_block_get_boundary(node->block, &first, NULL); - /* - do - { - vmpa_t a1, a2; - - g_arch_instruction_get_location(instr, NULL, NULL, &a1); - g_arch_instruction_get_location(first, NULL, NULL, &a2); - - printf(" -- compare %p (0x%08lx) vs %p (0x%08lx)\n", - instr, a1, first, a2); - - } - while (0); - */ - return (first == instr); } @@ -617,10 +602,6 @@ void g_flow_node_link(GFlowNode *node, GGraphLayout *layout, GGraphNode *nodes) void g_flow_node_place(const GFlowNode *node, GtkGraphView *view) { - printf("[put] %p (%d ; %d) - (%d ; %d)\n", node, - G_GRAPH_NODE(node)->alloc.x, G_GRAPH_NODE(node)->alloc.y, - G_GRAPH_NODE(node)->alloc.width, G_GRAPH_NODE(node)->alloc.height); - gtk_graph_view_put(view, GTK_WIDGET(node->view), &G_GRAPH_NODE(node)->alloc); } @@ -951,7 +932,6 @@ GdkPoint g_flow_node_get_point_from_slot(const GFlowNode *node, bool entry, cons } - slots_width = (count - 1) * SPACE_BETWEEN_SLOT; slots_left = base->alloc.x + (base->alloc.width - slots_width) / 2; @@ -960,17 +940,6 @@ GdkPoint g_flow_node_get_point_from_slot(const GFlowNode *node, bool entry, cons result.x = slots_left + index * SPACE_BETWEEN_SLOT; - - -#if 0 - slots_width = (count - 1) * SPACE_BETWEEN_SLOT; - slots_left = base->alloc.x + (base->alloc.width - slots_width) / 2; - - index = (slot - slots)/* / sizeof(node_slot_t)*/; - /* BUG_ON(index >= count); */ - - result.x = slots_left + index * SPACE_BETWEEN_SLOT; -#endif return result; } |