From d2acb446c573f54234f72bab5de9452b89fcd1c4 Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Wed, 29 Sep 2010 10:41:26 -0400 Subject: introspection: Fix some annotation syntax usage --- pango/pango-attributes.c | 4 ++-- pango/pango-layout.c | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'pango') diff --git a/pango/pango-attributes.c b/pango/pango-attributes.c index 961bb330..28c11de6 100644 --- a/pango/pango-attributes.c +++ b/pango/pango-attributes.c @@ -1793,7 +1793,7 @@ pango_attr_iterator_get (PangoAttrIterator *iterator, * pango_font_description_set_family (desc, pango_font_description_get_family (desc)). * @language: if non-%NULL, location to store language tag for item, or %NULL * if none is found. - * @extra_attrs: (element type Pango.Attribute): (transfer full): if non-%NULL, + * @extra_attrs: (element type Pango.Attribute) (transfer full): if non-%NULL, * location in which to store a list of non-font * attributes at the the current position; only the highest priority * value of each attribute will be added to this list. In order @@ -2014,7 +2014,7 @@ pango_attr_list_filter (PangoAttrList *list, * Gets a list of all attributes at the current position of the * iterator. * - * Return value: (element-type Pango.Attribute): (transfer full): a list of + * Return value: (element-type Pango.Attribute) (transfer full): a list of * all attributes for the current range. * To free this value, call pango_attribute_destroy() on * each value and g_slist_free() on the list. diff --git a/pango/pango-layout.c b/pango/pango-layout.c index 4cf00a15..9bdaa1ce 100644 --- a/pango/pango-layout.c +++ b/pango/pango-layout.c @@ -1302,7 +1302,7 @@ pango_layout_get_line_count (PangoLayout *layout) * Use the faster pango_layout_get_lines_readonly() if you do not plan * to modify the contents of the lines (glyphs, glyph widths, etc.). * - * Return value: (element-type Pango.LayoutLine): (transfer none): a #GSList containing + * Return value: (element-type Pango.LayoutLine) (transfer none): a #GSList containing * the lines in the layout. This points to internal data of the #PangoLayout * and must be used with care. It will become invalid on any change to the layout's * text or properties. @@ -1337,7 +1337,7 @@ pango_layout_get_lines (PangoLayout *layout) * but the user is not expected * to modify the contents of the lines (glyphs, glyph widths, etc.). * - * Return value: (element-type Pango.LayoutLine): (transfer none): a #GSList containing + * Return value: (element-type Pango.LayoutLine) (transfer none): a #GSList containing * the lines in the layout. This points to internal data of the #PangoLayout and * must be used with care. It will become invalid on any change to the layout's * text or properties. No changes should be made to the lines. @@ -4180,7 +4180,7 @@ pango_layout_line_get_width (PangoLayoutLine *line) * the last range will extend all the way to the trailing * edge of the layout. Otherwise, it will end at the * trailing edge of the last character. - * @ranges: (out): (array length=n_ranges): (transfer=full): + * @ranges: (out) (array length=n_ranges) (transfer=full): * location to store a pointer to an array of ranges. * The array will be of length 2*n_ranges, * with each range starting at (*ranges)[2*n] -- cgit v1.2.1