[pango] Fixed (transfer full) and (element-type) introspection annotation for the return value in pango_item
- From: Alberto Ruiz <aruiz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pango] Fixed (transfer full) and (element-type) introspection annotation for the return value in pango_item
- Date: Mon, 25 Apr 2011 23:18:48 +0000 (UTC)
commit f635507af8adefbf7b1b4ae87159804920d40070
Author: Alberto Ruiz <aruiz gnome org>
Date: Mon Apr 25 23:57:18 2011 +0100
Fixed (transfer full) and (element-type) introspection annotation for the return value in pango_itemize_with_base_dir
pango/pango-context.c | 12 ++++++++----
1 files changed, 8 insertions(+), 4 deletions(-)
---
diff --git a/pango/pango-context.c b/pango/pango-context.c
index 2518500..696dadb 100644
--- a/pango/pango-context.c
+++ b/pango/pango-context.c
@@ -1497,9 +1497,10 @@ itemize_state_finish (ItemizeState *state)
* computing bidirectional levels (see pango_context_set_base_dir ()),
* is specified explicitly rather than gotten from the #PangoContext.
*
- * Return value: a #GList of #PangoItem structures. The items should be
- * freed using pango_item_free() probably in combination with g_list_foreach(),
- * and the list itself using g_list_free().
+ * Return value: (transfer full) (element-type Pango.Item): a #GList of
+ * #PangoItem structures. The items should be freed using
+ * pango_item_free() probably in combination with
+ * g_list_foreach(), and the list itself using g_list_free().
*
* Since: 1.4
*/
@@ -1581,7 +1582,10 @@ itemize_with_font (PangoContext *context,
* the range covering the position just after @start_index + @length.
* (i.e. if itemizing in a loop, just keep passing in the same @cached_iter).
*
- * Return value: (transfer full) (element-type Pango.Item): a #GList of #PangoItem structures.
+ * Return value: (transfer full) (element-type Pango.Item): a #GList of #PangoItem
+ * structures. The items should be freed using pango_item_free()
+ * probably in combination with g_list_foreach(), and the list itself
+ * using g_list_free().
*/
GList *
pango_itemize (PangoContext *context,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]