diff options
| author | Dana Jansens <danakj@orodu.net> | 2007-03-18 15:07:30 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2007-03-18 15:07:30 +0000 |
| commit | 3678f8df8a3d2f5fb20d07d9124c3f0b8618ca5d (patch) | |
| tree | 049afd9c94b22360496e407226831b612fad1d8f /render/render.h | |
| parent | 5fa443efc8f85a2365c1043c547ac2168a294575 (diff) | |
use const char*'s when we should be
Diffstat (limited to 'render/render.h')
| -rw-r--r-- | render/render.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/render/render.h b/render/render.h index 979bc933..7beef9c9 100644 --- a/render/render.h +++ b/render/render.h @@ -121,7 +121,7 @@ struct _RrTextureText { RrFont *font; RrJustify justify; RrColor *color; - gchar *string; + const gchar *string; gint shadow_offset_x; gint shadow_offset_y; RrColor *shadow_color; @@ -229,7 +229,7 @@ RrAppearance *RrAppearanceNew (const RrInstance *inst, gint numtex); RrAppearance *RrAppearanceCopy (RrAppearance *a); void RrAppearanceFree (RrAppearance *a); -RrFont *RrFontOpen (const RrInstance *inst, gchar *name, gint size, +RrFont *RrFontOpen (const RrInstance *inst, const gchar *name, gint size, RrFontWeight weight, RrFontSlant slant); RrFont *RrFontOpenDefault (const RrInstance *inst); void RrFontClose (RrFont *f); |
