]> Dogcows Code - chaz/openbox/blobdiff - obrender/render.h
use g_slice_new() instead of g_new() part 4
[chaz/openbox] / obrender / render.h
index 64c2f6a114a1d2aa17aa8b700c103e9c13f0f5ce..cf9883a96fa9b2f9edd857900488028f5376fb57 100644 (file)
@@ -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);
This page took 0.023684 seconds and 4 git commands to generate.