diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2016-07-07 14:06:10 +0200 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2016-07-08 17:21:23 +0200 |
commit | 5b029fe5752c11e8de2e683c857db547e90a45be (patch) | |
tree | cfa6ed22c7f4785bfd66a5f3741b5ff6567bc99e /platform/x11 | |
parent | adc4932af62fde5e9eb1106f751659962cb89dc3 (diff) | |
download | mupdf-5b029fe5752c11e8de2e683c857db547e90a45be.tar.xz |
Slim pdf_annot struct: remove cached annot_type and widget_type fields.
Diffstat (limited to 'platform/x11')
-rw-r--r-- | platform/x11/pdfapp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/x11/pdfapp.c b/platform/x11/pdfapp.c index dae5da9a..431c9994 100644 --- a/platform/x11/pdfapp.c +++ b/platform/x11/pdfapp.c @@ -1606,7 +1606,7 @@ void pdfapp_onmouse(pdfapp_t *app, int x, int y, int btn, int modifiers, int sta if (widget) { - switch (pdf_widget_get_type(ctx, widget)) + switch (pdf_widget_type(ctx, widget)) { case PDF_WIDGET_TYPE_TEXT: { |