projects
/
claws.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c3e576c
)
Remove warning with poppler 0.90 and greater¹
author
Ricardo Mones
<ricardo@mones.org>
Tue, 15 Sep 2020 16:45:20 +0000
(18:45 +0200)
committer
Ricardo Mones
<ricardo@mones.org>
Tue, 15 Sep 2020 16:45:20 +0000
(18:45 +0200)
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
src/plugins/pdf_viewer/poppler_viewer.c
patch
|
blob
|
history
diff --git
a/src/plugins/pdf_viewer/poppler_viewer.c
b/src/plugins/pdf_viewer/poppler_viewer.c
index 5df4661c6a195b00840620403899adf82f29dba9..980ea724e86f157383e43a713bea47abdf32f732 100644
(file)
--- 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 */
}