[poppler] glib/poppler-structure-element.cc glib/reference

Carlos Garcia Campos carlosgc at kemper.freedesktop.org
Sun Mar 2 10:47:02 PST 2014


 glib/poppler-structure-element.cc   |    6 +++---
 glib/reference/poppler-docs.sgml    |    1 -
 glib/reference/poppler-sections.txt |    1 +
 3 files changed, 4 insertions(+), 4 deletions(-)

New commits:
commit 2fc38c1866243598e22be07f0177e7d9385542d5
Author: Adrian Perez de Castro <aperez at igalia.com>
Date:   Fri Feb 28 19:14:36 2014 +0200

    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

diff --git a/glib/poppler-structure-element.cc b/glib/poppler-structure-element.cc
index 60bb6c2..3e7b679 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 b817a0d..6dcc658 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 f17633a..528ba07 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


More information about the poppler mailing list