diff options
author | Colin Walters <walters@verbum.org> | 2010-09-29 10:41:26 -0400 |
---|---|---|
committer | Behdad Esfahbod <behdad@behdad.org> | 2011-04-04 16:22:50 -0400 |
commit | d2acb446c573f54234f72bab5de9452b89fcd1c4 (patch) | |
tree | 58045f691b76f064be79f72b7775f2921a442283 /pango | |
parent | 210644520cd3fa57b7e4165a6dd8b3edb818ac9c (diff) | |
download | pango-d2acb446c573f54234f72bab5de9452b89fcd1c4.tar.gz |
introspection: Fix some annotation syntax usage
Diffstat (limited to 'pango')
-rw-r--r-- | pango/pango-attributes.c | 4 | ||||
-rw-r--r-- | pango/pango-layout.c | 6 |
2 files changed, 5 insertions, 5 deletions
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, * <literal>pango_font_description_set_family (desc, pango_font_description_get_family (desc))</literal>. * @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 <literal>2*n_ranges</literal>, * with each range starting at <literal>(*ranges)[2*n]</literal> |