introspection: Fix some annotation syntax usage
authorColin Walters <walters@verbum.org>
Wed, 29 Sep 2010 14:41:26 +0000 (10:41 -0400)
committerColin Walters <walters@verbum.org>
Wed, 29 Sep 2010 14:42:13 +0000 (10:42 -0400)
pango/pango-attributes.c
pango/pango-layout.c

index 961bb33..28c11de 100644 (file)
@@ -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.
index 4cf00a1..9bdaa1c 100644 (file)
@@ -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>