Bug 75541 - glib: Remove unneeded POPPLER_STRUCTURE_ELEMENT_UNKNOWN
Summary: glib: Remove unneeded POPPLER_STRUCTURE_ELEMENT_UNKNOWN
Status: RESOLVED FIXED
Alias: None
Product: poppler
Classification: Unclassified
Component: glib frontend (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: poppler-bugs
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-26 18:20 UTC by Adrian Perez de Castro
Modified: 2014-02-27 11:13 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
Patch (2.73 KB, text/plain)
2014-02-26 18:20 UTC, Adrian Perez de Castro
Details

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.