From 5b029fe5752c11e8de2e683c857db547e90a45be Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Thu, 7 Jul 2016 14:06:10 +0200 Subject: Slim pdf_annot struct: remove cached annot_type and widget_type fields. --- platform/x11/pdfapp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'platform') 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: { -- cgit v1.2.3