From e61fd8874a8352fb5fa1c4b2ab84d29679fa7b0c Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Fri, 12 Feb 2010 14:13:32 -0500 Subject: use g_slice_new() instead of g_new() part 4 --- obrender/render.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'obrender/render.h') diff --git a/obrender/render.h b/obrender/render.h index 64c2f6a1..cf9883a9 100644 --- a/obrender/render.h +++ b/obrender/render.h @@ -316,6 +316,8 @@ RrFont *RrFontOpen (const RrInstance *inst, const gchar *name, gint size, RrFontWeight weight, RrFontSlant slant); RrFont *RrFontOpenDefault (const RrInstance *inst); void RrFontClose (RrFont *f); +/*! Returns an RrSize, that was allocated with g_slice_new(). Use g_slice_free() to + free it. */ RrSize *RrFontMeasureString (const RrFont *f, const gchar *str, gint shadow_offset_x, gint shadow_offset_y, gboolean flow, gint maxwidth); -- cgit v1.2.3