From: Dana Jansens Date: Thu, 31 May 2007 04:07:01 +0000 (+0000) Subject: cosnt char* X-Git-Url: https://git.dogcows.com/gitweb?a=commitdiff_plain;h=5e50b406d06147bfce746c24b5341321d55c4a3f;p=chaz%2Fopenbox cosnt char* --- 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);