diff options
author | Matthias Clasen <mclasen@redhat.com> | 2022-10-13 10:39:55 +0000 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2022-10-13 10:39:55 +0000 |
commit | 2541354d5c12ad4fa7c2e73c06f9b9bb21443f58 (patch) | |
tree | 791348de83ea7ce948549d332eadd9d05ec05c99 /pango/pango-glyph-item.c | |
parent | 2b3d77a589561d4e9d98ed41df233a32f540593d (diff) | |
parent | a95fe00de9f3b906fe4acefd8f92aa4691a0e155 (diff) | |
download | pango-2541354d5c12ad4fa7c2e73c06f9b9bb21443f58.tar.gz |
Merge branch 'more-gir-annotations-fixes' into 'main'
Fix GIR annotations in multiple files
See merge request GNOME/pango!648
Diffstat (limited to 'pango/pango-glyph-item.c')
-rw-r--r-- | pango/pango-glyph-item.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/pango/pango-glyph-item.c b/pango/pango-glyph-item.c index 7eb1737d..e58f6593 100644 --- a/pango/pango-glyph-item.c +++ b/pango/pango-glyph-item.c @@ -47,8 +47,8 @@ * This function is similar in function to pango_item_split() (and uses * it internally.) * - * Return value: the newly allocated item representing text before - * @split_index, which should be freed + * Returns: (transfer full) (nullable): the newly allocated item + * representing text before @split_index, which should be freed * with pango_glyph_item_free(). * * Since: 1.2 @@ -142,7 +142,7 @@ pango_glyph_item_split (PangoGlyphItem *orig, * * Make a deep copy of an existing `PangoGlyphItem` structure. * - * Return value: (nullable): the newly allocated `PangoGlyphItem` + * Returns: (transfer full) (nullable): the newly allocated `PangoGlyphItem` * * Since: 1.20 */ @@ -198,7 +198,7 @@ G_DEFINE_BOXED_TYPE (PangoGlyphItem, pango_glyph_item, * * Make a shallow copy of an existing `PangoGlyphItemIter` structure. * - * Return value: (nullable): the newly allocated `PangoGlyphItemIter` + * Returns: (transfer full) (nullable): the newly allocated `PangoGlyphItemIter` * * Since: 1.22 */ @@ -246,7 +246,7 @@ G_DEFINE_BOXED_TYPE (PangoGlyphItemIter, pango_glyph_item_iter, * * See `PangoGlyphItemIter` for details of cluster orders. * - * Return value: %TRUE if the iterator was advanced, + * Returns: %TRUE if the iterator was advanced, * %FALSE if we were already on the last cluster. * * Since: 1.22 @@ -336,7 +336,7 @@ pango_glyph_item_iter_next_cluster (PangoGlyphItemIter *iter) * Moves the iterator to the preceding cluster in the glyph item. * See `PangoGlyphItemIter` for details of cluster orders. * - * Return value: %TRUE if the iterator was moved, + * Returns: %TRUE if the iterator was moved, * %FALSE if we were already on the first cluster. * * Since: 1.22 @@ -433,7 +433,7 @@ pango_glyph_item_iter_prev_cluster (PangoGlyphItemIter *iter) * * See `PangoGlyphItemIter` for details of cluster orders. * - * Return value: %FALSE if there are no clusters in the glyph item + * Returns: %FALSE if there are no clusters in the glyph item * * Since: 1.22 */ @@ -472,7 +472,7 @@ pango_glyph_item_iter_init_start (PangoGlyphItemIter *iter, * * See `PangoGlyphItemIter` for details of cluster orders. * - * Return value: %FALSE if there are no clusters in the glyph item + * Returns: %FALSE if there are no clusters in the glyph item * * Since: 1.22 */ @@ -582,7 +582,7 @@ split_before_cluster_start (ApplyAttrsState *state) * This function takes ownership of @glyph_item; it will be reused * as one of the elements in the list. * - * Return value: (transfer full) (element-type Pango.GlyphItem): a + * Returns: (transfer full) (element-type Pango.GlyphItem): a * list of glyph items resulting from splitting @glyph_item. Free * the elements using [method@Pango.GlyphItem.free], the list using * g_slist_free(). |