From 5e50b406d06147bfce746c24b5341321d55c4a3f Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Thu, 31 May 2007 04:07:01 +0000 Subject: [PATCH] cosnt char* --- render/theme.c | 2 +- render/theme.h | 2 +- 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); -- 2.45.2