[pango/1.28] introspection: Fix some annotation syntax usage



commit d2acb446c573f54234f72bab5de9452b89fcd1c4
Author: Colin Walters <walters verbum org>
Date:   Wed Sep 29 10:41:26 2010 -0400

    introspection: Fix some annotation syntax usage

 pango/pango-attributes.c |    4 ++--
 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 961bb33..28c11de 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 4cf00a1..9bdaa1c 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>



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]