diff options
Diffstat (limited to 'apps/x11_main.c')
-rw-r--r-- | apps/x11_main.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/apps/x11_main.c b/apps/x11_main.c index 1c0ca0b0..270f15df 100644 --- a/apps/x11_main.c +++ b/apps/x11_main.c @@ -116,18 +116,18 @@ void winwarn(pdfapp_t *app, char *msg) fprintf(stderr, "mupdf: warning: %s\n", msg); } -void winalert(pdfapp_t *app, fz_alert_event *alert) +void winalert(pdfapp_t *app, pdf_alert_event *alert) { fprintf(stderr, "Alert %s: %s", alert->title, alert->message); switch (alert->button_group_type) { - case FZ_ALERT_BUTTON_GROUP_OK: - case FZ_ALERT_BUTTON_GROUP_OK_CANCEL: - alert->button_pressed = FZ_ALERT_BUTTON_OK; + case PDF_ALERT_BUTTON_GROUP_OK: + case PDF_ALERT_BUTTON_GROUP_OK_CANCEL: + alert->button_pressed = PDF_ALERT_BUTTON_OK; break; - case FZ_ALERT_BUTTON_GROUP_YES_NO: - case FZ_ALERT_BUTTON_GROUP_YES_NO_CANCEL: - alert->button_pressed = FZ_ALERT_BUTTON_YES; + case PDF_ALERT_BUTTON_GROUP_YES_NO: + case PDF_ALERT_BUTTON_GROUP_YES_NO_CANCEL: + alert->button_pressed = PDF_ALERT_BUTTON_YES; break; } } |