diff options
author | Paul Gardiner <paul.gardiner@artifex.com> | 2013-06-09 12:30:16 -0400 |
---|---|---|
committer | Robin Watts <robin.watts@artifex.com> | 2013-06-09 12:48:24 -0400 |
commit | 8b3bfb0a08896c14a405dd91f86a998a602045a2 (patch) | |
tree | c256d5edf52d00ec8ef0bddcb0205616beb2ef69 /pdf/pdf_js.c | |
parent | 60005383aae11f8b8fabd8926e439e7f0bdc29de (diff) | |
download | mupdf-8b3bfb0a08896c14a405dd91f86a998a602045a2.tar.xz |
Remove fz_interactive API in favour of direct use of pdf API
Diffstat (limited to 'pdf/pdf_js.c')
-rw-r--r-- | pdf/pdf_js.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/pdf/pdf_js.c b/pdf/pdf_js.c index 266bc1c7..cbaf9081 100644 --- a/pdf/pdf_js.c +++ b/pdf/pdf_js.c @@ -22,15 +22,15 @@ static pdf_jsimp_obj *app_alert(void *jsctx, void *obj, int argc, pdf_jsimp_obj pdf_jsimp_obj *nType_obj = NULL; pdf_jsimp_obj *cTitle_obj = NULL; pdf_jsimp_obj *nButton_obj = NULL; - fz_alert_event event; + pdf_alert_event event; int arg_is_obj = 0; if (argc < 1 || argc > 6) return NULL; event.message = ""; - event.icon_type = FZ_ALERT_ICON_ERROR; - event.button_group_type = FZ_ALERT_BUTTON_GROUP_OK; + event.icon_type = PDF_ALERT_ICON_ERROR; + event.button_group_type = PDF_ALERT_BUTTON_GROUP_OK; event.title = "MuPDF"; event.check_box_message = NULL; event.button_pressed = 0; @@ -617,7 +617,7 @@ static pdf_jsimp_obj *doc_mailDoc(void *jsctx, void *obj, int argc, pdf_jsimp_ob pdf_jsimp_obj *cBcc_obj = NULL; pdf_jsimp_obj *cSubject_obj = NULL; pdf_jsimp_obj *cMessage_obj = NULL; - fz_mail_doc_event event; + pdf_mail_doc_event event; int arg_is_obj = 0; if (argc < 1 || argc > 6) |