[Commits] [SCM] claws branch, master, updated. 3.17.6-23-g34475d209
mones at claws-mail.org
mones at claws-mail.org
Tue Sep 15 18:45:34 CEST 2020
The branch, master has been updated
via 34475d2091df71d344dca6b2c2a1bad3983869cc (commit)
from c3e576c06b97448cff50e05964c44d585e1680d2 (commit)
Summary of changes:
src/plugins/pdf_viewer/poppler_viewer.c | 5 +++++
1 file changed, 5 insertions(+)
- Log -----------------------------------------------------------------
commit 34475d2091df71d344dca6b2c2a1bad3983869cc
Author: Ricardo Mones <ricardo at mones.org>
Date: Tue Sep 15 18:45:20 2020 +0200
Remove warning with poppler 0.90 and greater¹
poppler_viewer.c:829:3: warning: enumeration value
‘POPPLER_ACTION_RESET_FORM’ not handled in switch [-Wswitch]
¹ https://poppler.freedesktop.org/api/glib/PopplerAction.html#PopplerActionType
diff --git a/src/plugins/pdf_viewer/poppler_viewer.c b/src/plugins/pdf_viewer/poppler_viewer.c
index 5df4661c6..980ea724e 100644
--- a/src/plugins/pdf_viewer/poppler_viewer.c
+++ b/src/plugins/pdf_viewer/poppler_viewer.c
@@ -896,6 +896,11 @@ static void pdf_viewer_button_press_events_cb(GtkWidget *widget, GdkEventButton
case POPPLER_ACTION_JAVASCRIPT:
debug_print("yoyoyo ;-) javascript?\n");
break;
+#if POPPLER_CHECK_VERSION(0,90,0)
+ case POPPLER_ACTION_RESET_FORM:
+ debug_print("yoyoyo ;-) reset form?\n");
+ break;
+#endif /* 0.90 */
#endif /* 0.18 */
#endif /* 0.14 */
}
-----------------------------------------------------------------------
hooks/post-receive
--
Claws Mail
More information about the Commits
mailing list