summaryrefslogtreecommitdiff
path: root/render
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2007-05-31 04:07:01 +0000
committerDana Jansens <danakj@orodu.net>2007-05-31 04:07:01 +0000
commit5e50b406d06147bfce746c24b5341321d55c4a3f (patch)
tree5ed17a05d907ef93f6ae615381a31f78b88d3632 /render
parent467b7f4d4d52b8e1cefade20ddf13e65aae314ce (diff)
cosnt char*
Diffstat (limited to 'render')
-rw-r--r--render/theme.c2
-rw-r--r--render/theme.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/render/theme.c b/render/theme.c
index 1d473823..08d4b07d 100644
--- a/render/theme.c
+++ b/render/theme.c
@@ -64,7 +64,7 @@ static gboolean find_appearance(ParseState *ps, xmlNodePtr n, const gchar *names
/* shortcut to the various find_* functions */
#define FIND(type, args...) find_##type(&ps, root, args)
-RrTheme* RrThemeNew(const RrInstance *inst, gchar *name,
+RrTheme* RrThemeNew(const RrInstance *inst, const gchar *name,
RrFont *active_window_font, RrFont *inactive_window_font,
RrFont *menu_title_font, RrFont *menu_item_font,
RrFont *osd_font)
diff --git a/render/theme.h b/render/theme.h
index dda67071..911366ae 100644
--- a/render/theme.h
+++ b/render/theme.h
@@ -235,7 +235,7 @@ struct _RrTheme {
/*! The font values are all optional. If a NULL is used for any of them, then
the default font will be used. */
-RrTheme* RrThemeNew(const RrInstance *inst, gchar *theme,
+RrTheme* RrThemeNew(const RrInstance *inst, const gchar *theme,
RrFont *active_window_font, RrFont *inactive_window_font,
RrFont *menu_title_font, RrFont *menu_item_font,
RrFont *osd_font);