summaryrefslogtreecommitdiff
path: root/pango/pango-context.c
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@gnome.org>2007-05-03 22:36:44 +0000
committerBehdad Esfahbod <behdad@src.gnome.org>2007-05-03 22:36:44 +0000
commit72ebcd15ee111385bd6fd2304124c37dabfb04cd (patch)
tree7e9ea4ed5ee10f2db820e9233ab9dd5724af6d03 /pango/pango-context.c
parentc3fc3db437370e64d75f3f9410e8698c46185558 (diff)
downloadpango-72ebcd15ee111385bd6fd2304124c37dabfb04cd.tar.gz
Improve docs about freeing returned items.
2007-05-03 Behdad Esfahbod <behdad@gnome.org> * pango/pango-context.c (pango_itemize): Improve docs about freeing returned items. svn path=/trunk/; revision=2259
Diffstat (limited to 'pango/pango-context.c')
-rw-r--r--pango/pango-context.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/pango/pango-context.c b/pango/pango-context.c
index 8ddc7249..3a349baf 100644
--- a/pango/pango-context.c
+++ b/pango/pango-context.c
@@ -1390,7 +1390,9 @@ 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.
+ * 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().
*
* Since: 1.4
*/