Index: data.c =================================================================== --- data.c (revision 21503) +++ data.c (revision 21504) @@ -721,7 +721,7 @@ } PCB_ENDALL_LOOP; ctx->inited = 1; } - if (pcb_gui->progress(ctx->at, ctx->total, "Clipping polygons...") != 0) { + if (pcb_hid_progress(ctx->at, ctx->total, "Clipping polygons...") != 0) { int rv = pcb_hid_message_box("warning", "Stop poly clipping", "The only way to cancel poly clipping is to quit pcb-rnd.\nAre you sure you want to quit?", "yes, quit pcb-rnd", 1, "no, continue clipping", 2, NULL); if (rv == 1) { exit(1); @@ -728,7 +728,7 @@ } else { /* Have to recreate the dialog next time, that's the only way to get it out from the cancel state */ - pcb_gui->progress(0, 0, NULL); + pcb_hid_progress(0, 0, NULL); } } } @@ -767,7 +767,7 @@ } PCB_ENDALL_LOOP; if (enable_progbar) - pcb_gui->progress(0, 0, NULL); + pcb_hid_progress(0, 0, NULL); } void pcb_data_clip_dirty(pcb_data_t *data, pcb_bool enable_progbar)