From 27ae74dafa532ad76ff4df9357bb171e61386a4f Mon Sep 17 00:00:00 2001 From: Hib Eris Date: Wed, 1 Feb 2012 14:45:56 +0100 Subject: [PATCH 1/8] gtk-doc: Fix typo's --- glib/poppler-annot.cc | 6 +++--- glib/poppler-annot.h | 2 +- glib/poppler-document.cc | 2 +- glib/poppler-media.cc | 2 +- glib/poppler-page.cc | 3 +-- glib/poppler-page.h | 4 ++-- glib/reference/poppler-sections.txt | 4 +++- 7 files changed, 12 insertions(+), 11 deletions(-) diff --git a/glib/poppler-annot.cc b/glib/poppler-annot.cc index 588ede3..834c0c6 100644 --- a/glib/poppler-annot.cc +++ b/glib/poppler-annot.cc @@ -1164,10 +1164,10 @@ poppler_annot_free_text_get_quadding (PopplerAnnotFreeText *poppler_annot) * poppler_annot_free_text_get_callout_line: * @poppler_annot: a #PopplerAnnotFreeText * - * Retrieves a #PopplerCalloutLine of four or six numbers specifying a callout + * Retrieves a #PopplerAnnotCalloutLine of four or six numbers specifying a callout * line attached to the @poppler_annot. * - * Return value: a new allocated #PopplerCalloutLine if the annot has a callout + * Return value: a new allocated #PopplerAnnotCalloutLine if the annot has a callout * line, %NULL in other case. It must be freed with g_free() when * done. **/ @@ -1278,7 +1278,7 @@ poppler_annot_callout_line_new (void) /** * poppler_annot_callout_line_copy: - * @callout: the #PopplerAnnotCalloutline to be copied. + * @callout: the #PopplerAnnotCalloutLine to be copied. * * It does copy @callout to a new #PopplerAnnotCalloutLine. * diff --git a/glib/poppler-annot.h b/glib/poppler-annot.h index 99cbb74..17440fb 100644 --- a/glib/poppler-annot.h +++ b/glib/poppler-annot.h @@ -219,7 +219,7 @@ PopplerMovie *poppler_annot_movie_get_movie ( GType poppler_annot_screen_get_type (void) G_GNUC_CONST; PopplerAction *poppler_annot_screen_get_action (PopplerAnnotScreen *poppler_annot); -/* PopplerCalloutLine */ +/* PopplerAnnotCalloutLine */ GType poppler_annot_callout_line_get_type (void) G_GNUC_CONST; PopplerAnnotCalloutLine *poppler_annot_callout_line_new (void); PopplerAnnotCalloutLine *poppler_annot_callout_line_copy (PopplerAnnotCalloutLine *callout); diff --git a/glib/poppler-document.cc b/glib/poppler-document.cc index 1c73e8f..d2ba835 100644 --- a/glib/poppler-document.cc +++ b/glib/poppler-document.cc @@ -734,7 +734,7 @@ poppler_document_get_pdf_version_string (PopplerDocument *document) * @major_version: (out) (allow-none): return location for the PDF major version number * @minor_version: (out) (allow-none): return location for the PDF minor version number * - * Returns the major and minor PDF version numbers. + * Returns: the major and minor PDF version numbers * * Since: 0.16 **/ diff --git a/glib/poppler-media.cc b/glib/poppler-media.cc index 4c31b84..5712371 100644 --- a/glib/poppler-media.cc +++ b/glib/poppler-media.cc @@ -136,7 +136,7 @@ poppler_media_get_filename (PopplerMedia *poppler_media) * Whether the media clip is embedded in the PDF. If the result is %TRUE, the embedded stream * can be saved with poppler_media_save() or poppler_media_save_to_callback() function. * If the result is %FALSE, the media clip filename can be retrieved with - * poppler_media_get_file_name() function. + * poppler_media_get_filename() function. * * Return value: %TRUE if media clip is embedded, %FALSE otherwise * diff --git a/glib/poppler-page.cc b/glib/poppler-page.cc index b5e03f1..fe47af7 100644 --- a/glib/poppler-page.cc +++ b/glib/poppler-page.cc @@ -470,7 +470,7 @@ create_surface_from_thumbnail_data (guchar *data, /** * poppler_page_get_thumbnail: - * @page: the #PopperPage to get the thumbnail for + * @page: the #PopplerPage to get the thumbnail for * * Get the embedded thumbnail for the specified page. If the document * doesn't have an embedded thumbnail for the page, this function @@ -1211,7 +1211,6 @@ poppler_page_get_link_mapping (PopplerPage *page) /** * poppler_page_free_link_mapping: - * @list: (element-type PopplerLinkMapping): A list of * #PopplerLinkMappings * diff --git a/glib/poppler-page.h b/glib/poppler-page.h index c151cdc..7b36843 100644 --- a/glib/poppler-page.h +++ b/glib/poppler-page.h @@ -157,7 +157,7 @@ void poppler_color_free (PopplerColor *color); * @start_index: start position this text attributes apply * @end_index: end position this text text attributes apply * - * A #PopplerTextInfo is used to describe text attriutes of a reange of text + * A #PopplerTextAttributes is used to describe text attributes of a range of text * * Since: 0.18 */ @@ -290,7 +290,7 @@ void poppler_form_field_mapping_free (PopplerFormFieldMa /** * PopplerAnnotMapping: * @area: a #PopplerRectangle representing an area of the page - * @annot: a #PopplerAannot + * @annot: a #PopplerAnnot * * A #PopplerAnnotMapping structure represents the location * of @annot on the page diff --git a/glib/reference/poppler-sections.txt b/glib/reference/poppler-sections.txt index c558bc5..dda98e6 100644 --- a/glib/reference/poppler-sections.txt +++ b/glib/reference/poppler-sections.txt @@ -78,6 +78,7 @@ POPPLER_PAGE POPPLER_IS_PAGE POPPLER_TYPE_PAGE POPPLER_TYPE_RECTANGLE +POPPLER_TYPE_TEXT_ATTRIBUTES POPPLER_TYPE_PAGE_TRANSITION POPPLER_TYPE_LINK_MAPPING POPPLER_TYPE_IMAGE_MAPPING @@ -136,7 +137,6 @@ poppler_document_get_page_mode poppler_document_get_viewer_preferences poppler_document_get_permissions poppler_document_get_metadata -poppler_document_get_permissions poppler_document_is_linearized poppler_document_get_n_pages poppler_document_get_page @@ -353,6 +353,7 @@ POPPLER_TYPE_ORIENTATION POPPLER_TYPE_PRINT_FLAGS +POPPLER_DEFINE_BOXED_TYPE poppler_error_get_type poppler_error_quark poppler_backend_get_type @@ -490,6 +491,7 @@ POPPLER_IS_LAYER POPPLER_TYPE_LAYER +Layer poppler_layer_get_type -- 1.7.7