[tracker-miners: 1/2] tracker-extract: Handle new libpoppler enum value
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker-miners: 1/2] tracker-extract: Handle new libpoppler enum value
- Date: Sat, 27 Mar 2021 16:59:22 +0000 (UTC)
commit 3d0b91536853b5e13bea816cd7339b3e7b092789
Author: nitinosiris <nitinwartkar58 gmail com>
Date: Fri Mar 26 10:44:21 2021 +0530
tracker-extract: Handle new libpoppler enum value
The POPPLER_ACTION_RESET_FORM enum value is new in libpoppler
0.90.0 and should be handled in the PDF extractor.
Fixes: https://gitlab.gnome.org/GNOME/tracker-miners/-/issues/165
src/tracker-extract/tracker-extract-pdf.c | 4 ++++
1 file changed, 4 insertions(+)
---
diff --git a/src/tracker-extract/tracker-extract-pdf.c b/src/tracker-extract/tracker-extract-pdf.c
index ca15c5c2e..40c0c98e4 100644
--- a/src/tracker-extract/tracker-extract-pdf.c
+++ b/src/tracker-extract/tracker-extract-pdf.c
@@ -151,6 +151,10 @@ read_toc (PopplerIndexIter *index,
case POPPLER_ACTION_RENDITION:
case POPPLER_ACTION_OCG_STATE:
case POPPLER_ACTION_JAVASCRIPT:
+ #if POPPLER_CHECK_VERSION (0, 90, 0)
+ case POPPLER_ACTION_RESET_FORM:
+ #endif
+
/* Do nothing */
break;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]