diff options
| author | Dana Jansens <danakj@orodu.net> | 2010-02-12 14:13:32 -0500 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2010-02-12 14:13:32 -0500 |
| commit | e61fd8874a8352fb5fa1c4b2ab84d29679fa7b0c (patch) | |
| tree | 2dbb90847597ead74c48c71d0a8e46a1cc711f67 /obrender/render.h | |
| parent | 890e13b919892887b773462bb866e849e0cb4d91 (diff) | |
use g_slice_new() instead of g_new() part 4
Diffstat (limited to 'obrender/render.h')
| -rw-r--r-- | obrender/render.h | 2 |
1 files changed, 2 insertions, 0 deletions
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); |
