diff options
author | Matthias Clasen <mclasen@redhat.com> | 2021-02-04 14:21:22 -0500 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2021-03-11 13:17:36 -0500 |
commit | fd5e229212544af32f9712bd3ba3fcaecfd6636f (patch) | |
tree | 02550e2709513cd3d903e3dc67b9e090d364153b | |
parent | 300850b3e8bb323f8a61a39e71b35d2b4c86802d (diff) | |
download | pango-fd5e229212544af32f9712bd3ba3fcaecfd6636f.tar.gz |
docs: Move layout docs into the long description
g-ir-scanner picks the long description over the struct
docs, when the id matches.
-rw-r--r-- | docs/pango-docs.sgml | 2 | ||||
-rw-r--r-- | docs/pango-sections.txt | 2 | ||||
-rw-r--r-- | pango/pango-layout.c | 13 |
3 files changed, 8 insertions, 9 deletions
diff --git a/docs/pango-docs.sgml b/docs/pango-docs.sgml index 2ac4f6df..dc196a63 100644 --- a/docs/pango-docs.sgml +++ b/docs/pango-docs.sgml @@ -22,7 +22,7 @@ <xi:include href="xml/glyphs.xml"/> <xi:include href="xml/text-attributes.xml"/> <xi:include href="xml/markup.xml"/> - <xi:include href="xml/layout.xml"/> + <xi:include href="xml/pangolayout.xml"/> <xi:include href="xml/scripts.xml"/> <xi:include href="xml/bidi.xml"/> <xi:include href="xml/vertical.xml"/> diff --git a/docs/pango-sections.txt b/docs/pango-sections.txt index 358f5bbf..9d6a80ba 100644 --- a/docs/pango-sections.txt +++ b/docs/pango-sections.txt @@ -497,7 +497,7 @@ pango_tab_array_get_type <SECTION> <TITLE>Layout Objects</TITLE> -<FILE>layout</FILE> +<FILE>pangolayout</FILE> PangoLayout PangoLayoutIter pango_layout_new diff --git a/pango/pango-layout.c b/pango/pango-layout.c index 810dbb61..97f874ac 100644 --- a/pango/pango-layout.c +++ b/pango/pango-layout.c @@ -20,7 +20,7 @@ */ /** - * SECTION:layout + * SECTION:pangolayout * @short_description:High-level layout driver objects * @title:Layout Objects * @@ -31,10 +31,6 @@ * high-level driver for formatting entire paragraphs of text * at once. This includes paragraph-level functionality such as * line-breaking, justification, alignment and ellipsization. - */ - -/** - * PangoLayout: * * The #PangoLayout structure represents an entire paragraph * of text. It is initialized with a #PangoContext, UTF-8 string @@ -52,9 +48,12 @@ * * It is possible, as well, to ignore the 2-D setup, * and simply treat the results of a PangoLayout as a list of lines. + */ + +/** + * PangoLayout: * - * The #PangoLayout structure is opaque, and has no user-visible - * fields. + * The #PangoLayout structure is opaque, and has no user-visible fields. */ /** |