summaryrefslogtreecommitdiff
path: root/pango/pango-tabs.c
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@gnome.org>2006-01-31 19:50:27 +0000
committerBehdad Esfahbod <behdad@src.gnome.org>2006-01-31 19:50:27 +0000
commiteceeb8c2a3100ec29a3a3a586b6f687c680beb1e (patch)
treeb5ad70c89743233d7fe705e710a1b0e7a97af760 /pango/pango-tabs.c
parent949d745d0c17afc1a7dcb56aa57c4f97d202904e (diff)
downloadpango-eceeb8c2a3100ec29a3a3a586b6f687c680beb1e.tar.gz
Improve documentation for functions allocating memory, on how the object
2006-01-31 Behdad Esfahbod <behdad@gnome.org> * pango/fonts.c, pango/glyphstring.c pango/pango-attributes.c pango/pango-color.c, pango/pango-context.c pango/pango-coverage.c, pango/pango-fontset.c pango/pango-glyph-item.c, pango/pango-item.c pango/pango-layout.c, pango/pango-ot-buffer.c pango/pango-ot-info.c, pango/pango-ot-ruleset.c pango/pango-script.c, pango/pango-tabs.c pango/pango-utils.c pango/pangocairo-fcfontmap.c, pango/pangocairo-fontmap.c pango/pangox-fontcache.c, pango/pangoxft-render.c: Improve documentation for functions allocating memory, on how the object should be freed.
Diffstat (limited to 'pango/pango-tabs.c')
-rw-r--r--pango/pango-tabs.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/pango/pango-tabs.c b/pango/pango-tabs.c
index c5d727ae..d2821b5b 100644
--- a/pango/pango-tabs.c
+++ b/pango/pango-tabs.c
@@ -64,7 +64,8 @@ init_tabs (PangoTabArray *array, gint start, gint end)
* pixel units if @positions_in_pixels is %TRUE, otherwise in Pango
* units. All stops are initially at position 0.
*
- * Return value: the new #PangoTabArray
+ * Return value: the newly allocated #PangoTabArray, which should
+ * be freed with pango_tab_array_free().
**/
PangoTabArray*
pango_tab_array_new (gint initial_size,
@@ -109,7 +110,8 @@ pango_tab_array_new (gint initial_size,
* tab stop. You <emphasis>must</emphasis> provide an alignment
* and position for @size tab stops.
*
- * Return value: the new #PangoTabArray
+ * Return value: the newly allocated #PangoTabArray, which should
+ * be freed with pango_tab_array_free().
**/
PangoTabArray *
pango_tab_array_new_with_positions (gint size,
@@ -172,7 +174,8 @@ pango_tab_array_get_type (void)
*
* Copies a #PangoTabArray
*
- * Return value: the new #PangoTabArray.
+ * Return value: the newly allocated #PangoTabArray, which should
+ * be freed with pango_tab_array_free().
**/
PangoTabArray*
pango_tab_array_copy (PangoTabArray *src)