Index: board.c =================================================================== --- board.c (revision 25183) +++ board.c (revision 25184) @@ -285,29 +285,6 @@ free(Ptr); } -/* sets cursor grid with respect to grid offset values */ -void pcb_board_set_grid(pcb_coord_t Grid, pcb_bool align, pcb_coord_t ox, pcb_coord_t oy) -{ - if (Grid >= 1 && Grid <= PCB_MAX_GRID) { - if (align) { - PCB->hidlib.grid_ox = ox % Grid; - PCB->hidlib.grid_oy = oy % Grid; - } - PCB->hidlib.grid = Grid; - conf_set_design("editor/grid", "%$mS", Grid); - if (pcbhl_conf.editor.draw_grid) - pcb_redraw(); - } -} - -void pcb_board_set_unit(pcb_board_t *pcb, const pcb_unit_t *new_unit) -{ - if (new_unit != NULL && new_unit->allow != PCB_UNIT_NO_PRINT) { - conf_set(CFR_DESIGN, "editor/grid_unit", -1, new_unit->suffix, POL_OVERWRITE); - pcb_attrib_put(pcb, "PCB::grid::unit", new_unit->suffix); - } -} - /* sets a new line thickness */ void pcb_board_set_line_width(pcb_coord_t Size) {