/* Update the progress information of the progress bar box.  */
void update_progress_dlg(progdlg_t *dlg, gfloat percentage, const gchar *)
/* Update the progress information of the progress bar box.  */
void update_progress_dlg(progdlg_t *dlg, gfloat percentage, const gchar *)
{
    if (!dlg) return;
    dlg->progress_frame->setValue(percentage * 100);
    WiresharkApplication::processEvents();
    dlg->progress_frame->update();
}