From c64c913b660e9382b3860a3d09ccce61b37b81ef Mon Sep 17 00:00:00 2001 From: Hib Eris Date: Sun, 8 Jun 2014 22:27:47 +0200 Subject: [PATCH] [glib] doc: Fix PopplerStructureElement documentation https://bugs.freedesktop.org/show_bug.cgi?id=79837 --- glib/poppler-structure-element.cc | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/glib/poppler-structure-element.cc b/glib/poppler-structure-element.cc index fdde41e..c626999 100644 --- a/glib/poppler-structure-element.cc +++ b/glib/poppler-structure-element.cc @@ -36,12 +36,11 @@ * SECTION:poppler-structure-element * @short_description: Document structure element. * @title: PopplerStructureElement - * @see_also: #PopplerStructure * * Instances of #PopplerStructureElement are used to describe the structure * of a #PopplerDocument. To access the elements in the structure of the * document, use poppler_structure_element_iter_new() to obtain an iterator - * for the top-level #PopplerStructure, and then use the + * for the top-level #PopplerStructureElement, and then use the * #PopplerStructureElementIter methods to traverse the structure tree. */ @@ -1816,7 +1815,7 @@ poppler_structure_element_get_text_decoration_color (PopplerStructureElement *po * If this attribute is not specified, it shall be derived from the current * stroke thickness in effect at the start of the element’s associated content. * - * Return value: Thickness of the text decoration, or %NaN if not defined. + * Return value: Thickness of the text decoration, or NAN if not defined. * * Since: 0.26 */ @@ -1935,10 +1934,10 @@ poppler_structure_element_get_column_count (PopplerStructureElement *poppler_str * array of elements: the first one is the size of the gap in between * columns 1 and 2, second is the size between columns 2 and 3, and so on. * - * For elements which use a single column, %NULL is returned and %n_values + * For elements which use a single column, %NULL is returned and @n_values * is set to zero. * - * If the attribute is undefined, %NULL is returned and %n_values is set + * If the attribute is undefined, %NULL is returned and @n_values is set * to a non-zero value. * * The array with the results is allocated by the function. When it is @@ -2197,7 +2196,7 @@ poppler_structure_element_get_table_headers (PopplerStructureElement *poppler_st * * Obtains the scope of a table structure element. * - * Return value: A #PopplerStructureScope value. + * Return value: A #PopplerStructureTableScope value. * * Since: 0.26 */ -- 1.8.3.2