Index: shape.c =================================================================== --- shape.c (revision 17327) +++ shape.c (revision 17328) @@ -361,7 +361,7 @@ } if ((data == PCB->Data) && (!have_coords)) - pcb_gui->get_coords("Click on the center of the polygon", &x, &y); + pcb_hid_get_coords("Click on the center of the polygon", &x, &y); if (regpoly_place(data, CURRENT, corners, rx, ry, rot, x, y) == NULL) pcb_message(PCB_MSG_ERROR, "regpoly(): failed to create the polygon\n"); @@ -423,7 +423,7 @@ } if ((data == PCB->Data) && (!have_coords)) - pcb_gui->get_coords("Click on the center of the polygon", &x, &y); + pcb_hid_get_coords("Click on the center of the polygon", &x, &y); if (roundrect_place(data, CURRENT, w, h, rx, ry, rot, x, y) == NULL) pcb_message(PCB_MSG_ERROR, "roundrect(): failed to create the polygon\n"); @@ -465,7 +465,7 @@ } if ((data == PCB->Data) && (!have_coords)) - pcb_gui->get_coords("Click on the center of the circle", &x, &y); + pcb_hid_get_coords("Click on the center of the circle", &x, &y); if (circle_place(PCB->Data, CURRENT, dia, x, y) == NULL) pcb_message(PCB_MSG_ERROR, "circle(): failed to create the polygon\n");