diff options
author | Adrian Perez de Castro <aperez@igalia.com> | 2014-02-28 19:14:36 +0200 |
---|---|---|
committer | Carlos Garcia Campos <carlosgc@gnome.org> | 2014-03-02 19:46:38 +0100 |
commit | 2fc38c1866243598e22be07f0177e7d9385542d5 (patch) | |
tree | 5fee6619402edfe63798657076ea2a3a0fed25b2 | |
parent | cfe47a655ec5e280168e000da85bbf13f5f5f8b8 (diff) |
glib: Fixes in the API reference documentation
- Remove the references to non-existent methods for PopplerStructureElement,
and point to PopplerStructureElementIter instead to point out how to
obtain the structure tree.
- Remove a non-existent include in poppler-docs.sgml
- Add POPPLER_TYPE_TEXT_SPAN to the list of private symbols.
https://bugs.freedesktop.org/show_bug.cgi?id=75615
-rw-r--r-- | glib/poppler-structure-element.cc | 6 | ||||
-rw-r--r-- | glib/reference/poppler-docs.sgml | 1 | ||||
-rw-r--r-- | glib/reference/poppler-sections.txt | 1 |
3 files changed, 4 insertions, 4 deletions
diff --git a/glib/poppler-structure-element.cc b/glib/poppler-structure-element.cc index 60bb6c29..3e7b6795 100644 --- a/glib/poppler-structure-element.cc +++ b/glib/poppler-structure-element.cc @@ -39,9 +39,9 @@ * * Instances of #PopplerStructureElement are used to describe the structure * of a #PopplerDocument. To access the elements in the structure of the - * document, first use poppler_document_get_structure() to obtain its - * #PopplerStructure, and then use poppler_structure_get_n_children() - * and poppler_structure_get_child() to enumerate the top level elements. + * document, use poppler_structure_element_iter_new() to obtain an iterator + * for the top-level #PopplerStructure, and then use the + * #PopplerStructureElementIter methods to traverse the structure tree. */ typedef struct _PopplerStructureElementClass diff --git a/glib/reference/poppler-docs.sgml b/glib/reference/poppler-docs.sgml index b817a0d6..6dcc6589 100644 --- a/glib/reference/poppler-docs.sgml +++ b/glib/reference/poppler-docs.sgml @@ -23,7 +23,6 @@ <xi:include href="xml/poppler-layer.xml"/> <xi:include href="xml/poppler-media.xml"/> <xi:include href="xml/poppler-movie.xml"/> - <xi:include href="xml/poppler-structure.xml"/> <xi:include href="xml/poppler-structure-element.xml"/> <xi:include href="xml/poppler-features.xml"/> </chapter> diff --git a/glib/reference/poppler-sections.txt b/glib/reference/poppler-sections.txt index f17633a3..528ba077 100644 --- a/glib/reference/poppler-sections.txt +++ b/glib/reference/poppler-sections.txt @@ -626,6 +626,7 @@ POPPLER_IS_STRUCTURE_ELEMENT POPPLER_TYPE_STRUCTURE_ELEMENT POPPLER_TYPE_STRUCTURE_ELEMENT_ITER POPPLER_TYPE_STRUCTURE_ELEMENT_KIND +POPPLER_TYPE_TEXT_SPAN <SUBSECTION Private> poppler_structure_element_get_type |