Index: trunk/doc/TODO =================================================================== --- trunk/doc/TODO (revision 23188) +++ trunk/doc/TODO (revision 23189) @@ -231,6 +231,7 @@ - new doc layers - FEATURE: lihata v7 - remove via geometry from route style + - remove netlist net ->style, should be a plain attribute (but keep the dedicated field in old versions) - BUG: gtk: slipping 'tab' issue view drifts when tab is used repeatedly at different zooms around the cardinal edges of a placed part, video repro: http://scififaster.net/wantitthatway_pcb-rnd.ogg [report: Miloh] - BUG: XY exporter: place a 1206 rotated 15 degrees, then export to xy with macrofab -> error message on rotated pad bbox; we need to rotate back the terminal object and calculate hte bbox in neutral position [report: celem] - BUG: lesstif clip_set() doesn't seem to affect the X clipboard Index: trunk/src/rats.c =================================================================== --- trunk/src/rats.c (revision 23188) +++ trunk/src/rats.c (revision 23189) @@ -691,8 +691,7 @@ } pcb_bool -pcb_rat_add_all(pcb_bool SelectedOnly, - void (*funcp) (register pcb_connection_t *, register pcb_connection_t *, register pcb_route_style_t *)) +pcb_rat_add_all(pcb_bool SelectedOnly) { pcb_oldnetlist_t *Nets, *Wantlist; pcb_oldnet_t *lonesome; @@ -738,13 +737,11 @@ PCB_END_LOOP; Warned |= gather_subnets(Nets, SelectedOnly, pcb_true); if (Nets->NetN > 0) - changed |= DrawShortestRats(Nets, funcp); + changed |= DrawShortestRats(Nets, NULL); } PCB_END_LOOP; pcb_netlist_free(Nets); free(Nets); - if (funcp) - return pcb_true; if (Warned || changed) { pcb_stub_rat_proc_shorts(); Index: trunk/src/rats.h =================================================================== --- trunk/src/rats.h (revision 23188) +++ trunk/src/rats.h (revision 23189) @@ -48,7 +48,7 @@ /* Put the rats nest into the layout from the loaded netlist; if SelectedOnly is pcb_true, it will only draw rats to selected pins and pads */ -pcb_bool pcb_rat_add_all(pcb_bool SelectedOnly, void (*funcp) (register pcb_connection_t *, register pcb_connection_t *, register pcb_route_style_t *)); +pcb_bool pcb_rat_add_all(pcb_bool SelectedOnly); char *pcb_connection_name(pcb_any_obj_t *obj); Index: trunk/src/rats_act.c =================================================================== --- trunk/src/rats_act.c (revision 23188) +++ trunk/src/rats_act.c (revision 23189) @@ -67,12 +67,12 @@ } switch (op) { case F_AllRats: - if (pcb_rat_add_all(pcb_false, NULL)) + if (pcb_rat_add_all(pcb_false)) pcb_board_set_changed_flag(pcb_true); break; case F_SelectedRats: case F_Selected: - if (pcb_rat_add_all(pcb_true, NULL)) + if (pcb_rat_add_all(pcb_true)) pcb_board_set_changed_flag(pcb_true); break; case F_Close: Index: trunk/src_plugins/autoplace/autoplace.c =================================================================== --- trunk/src_plugins/autoplace/autoplace.c (revision 23188) +++ trunk/src_plugins/autoplace/autoplace.c (revision 23189) @@ -828,7 +828,7 @@ pcb_hid_progress(0, 0, NULL); if (changed) { pcb_rats_destroy(pcb_false); - pcb_rat_add_all(pcb_false, NULL); + pcb_rat_add_all(pcb_false); pcb_redraw(); } vtp0_uninit(&Selected); Index: trunk/src_plugins/autoroute/autoroute.c =================================================================== --- trunk/src_plugins/autoroute/autoroute.c (revision 23188) +++ trunk/src_plugins/autoroute/autoroute.c (revision 23189) @@ -4736,7 +4736,7 @@ /* optimize rats, we've changed connectivity a lot. */ pcb_rats_destroy(pcb_false /*all rats */ ); pcb_undo_restore_serial(); - pcb_rat_add_all(pcb_false /*all rats */ , NULL); + pcb_rat_add_all(pcb_false /*all rats */); pcb_undo_restore_serial(); pcb_undo_inc_serial(); Index: trunk/src_plugins/import_sch/import_sch.c =================================================================== --- trunk/src_plugins/import_sch/import_sch.c (revision 23188) +++ trunk/src_plugins/import_sch/import_sch.c (revision 23189) @@ -368,7 +368,7 @@ } pcb_rats_destroy(pcb_false); - pcb_rat_add_all(pcb_false, NULL); + pcb_rat_add_all(pcb_false); if (conf_import_sch.plugins.import_sch.verbose) pcb_message(PCB_MSG_DEBUG, "pcb_act_Import: === Leaving pcb_act_Import ===\n");