Summary: |
glib: Remove unneeded POPPLER_STRUCTURE_ELEMENT_UNKNOWN |
Product: |
poppler
|
Reporter: |
Adrian Perez de Castro <aperez> |
Component: |
glib frontend | Assignee: |
poppler-bugs <poppler-bugs> |
Status: |
RESOLVED
FIXED
|
QA Contact: |
|
Severity: |
normal
|
|
|
Priority: |
medium
|
CC: |
carlosgc
|
Version: |
unspecified | |
|
Hardware: |
Other | |
|
OS: |
All | |
|
Whiteboard: |
|
i915 platform:
|
|
i915 features:
|
|
Attachments: |
Patch
|
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.
Created attachment 94780 [details] Patch The enum value POPPLER_STRUCTURE_ELEMENT_UNKNOWN because Poppler does not add invalid StructElements ("invalid" being nodes of type StructElement::Unknown) to the Tagged-PDF structure tree. That means that poppler-glib does not need to expose it in the API. An assertion is left to aid in finding issues when using debug builds.