diff options
author | Matthias Clasen <mclasen@redhat.com> | 2021-05-19 16:06:44 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2021-05-19 16:34:05 -0400 |
commit | 7f04ed9259fd91cdb3dc61c5aa43d196ec6a965f (patch) | |
tree | 51fdf2d97b85ef4a3e7c870389b92130c9b1a491 /pango/pango-fontset.c | |
parent | 75eee838a91bad404d211b002f26e9af3033f0d5 (diff) | |
download | pango-7f04ed9259fd91cdb3dc61c5aa43d196ec6a965f.tar.gz |
docs: Convert gtk-doc syntax leftoversdocs-cleanup
Remove leftovers like #Type, reduce indentations
to avoid markdown block quotes, etc.
Diffstat (limited to 'pango/pango-fontset.c')
-rw-r--r-- | pango/pango-fontset.c | 25 |
1 files changed, 11 insertions, 14 deletions
diff --git a/pango/pango-fontset.c b/pango/pango-fontset.c index 6f3bdcbf..a7cda5ad 100644 --- a/pango/pango-fontset.c +++ b/pango/pango-fontset.c @@ -55,9 +55,8 @@ pango_fontset_class_init (PangoFontsetClass *class) * Returns the font in the fontset that contains the best glyph for a * Unicode character. * - * Return value: (transfer full): a `PangoFont`. The caller must call - * g_object_unref() when finished with the font. - **/ + * Return value: (transfer full): a `PangoFont` + */ PangoFont * pango_fontset_get_font (PangoFontset *fontset, guint wc) @@ -70,13 +69,12 @@ pango_fontset_get_font (PangoFontset *fontset, /** * pango_fontset_get_metrics: - * @fontset: a #PangoFontset + * @fontset: a `PangoFontset` * * Get overall metric information for the fonts in the fontset. * - * Return value: a #PangoFontMetrics object. The caller must call pango_font_metrics_unref() - * when finished using the object. - **/ + * Return value: a `PangoFontMetrics` object + */ PangoFontMetrics * pango_fontset_get_metrics (PangoFontset *fontset) { @@ -97,7 +95,7 @@ pango_fontset_get_metrics (PangoFontset *fontset) * If @func returns %TRUE, that stops the iteration. * * Since: 1.4 - **/ + */ void pango_fontset_foreach (PangoFontset *fontset, PangoFontsetForeachFunc func, @@ -238,9 +236,8 @@ struct _PangoFontsetSimpleClass * * Creates a new `PangoFontsetSimple` for the given language. * - * Return value: the newly allocated `PangoFontsetSimple`, which should - * be freed with g_object_unref(). - **/ + * Return value: the newly allocated `PangoFontsetSimple` + */ PangoFontsetSimple * pango_fontset_simple_new (PangoLanguage *language) { @@ -307,7 +304,7 @@ pango_fontset_simple_finalize (GObject *object) * @font: a `PangoFont`. * * Adds a font to the fontset. - **/ + */ void pango_fontset_simple_append (PangoFontsetSimple *fontset, PangoFont *font) @@ -322,8 +319,8 @@ pango_fontset_simple_append (PangoFontsetSimple *fontset, * * Returns the number of fonts in the fontset. * - * Return value: the size of @fontset. - **/ + * Return value: the size of @fontset + */ int pango_fontset_simple_size (PangoFontsetSimple *fontset) { |