Index: polygon_act.c =================================================================== --- polygon_act.c (revision 5008) +++ polygon_act.c (revision 5009) @@ -68,7 +68,7 @@ void *ptr1, *ptr2, *ptr3; gui->get_coords(_("Select an Object"), &x, &y); - if ((type = SearchScreen(x, y, PCB_TYPE_POLYGON, &ptr1, &ptr2, &ptr3)) != PCB_TYPE_NONE) { + if ((type = pcb_search_screen(x, y, PCB_TYPE_POLYGON, &ptr1, &ptr2, &ptr3)) != PCB_TYPE_NONE) { pcb_poly_morph((pcb_layer_t *) ptr1, (pcb_polygon_t *) ptr3); pcb_draw(); IncrementUndoSerialNumber();