Bug 75541

Summary: glib: Remove unneeded POPPLER_STRUCTURE_ELEMENT_UNKNOWN
Product: poppler Reporter: Adrian Perez de Castro <aperez>
Component: glib frontendAssignee: 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

Description Adrian Perez de Castro 2014-02-26 18:20:39 UTC
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.
Comment 1 Carlos Garcia Campos 2014-02-27 11:13:34 UTC
Pushed, thanks!

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.