]> Dogcows Code - chaz/openbox/commitdiff
cosnt char*
authorDana Jansens <danakj@orodu.net>
Thu, 31 May 2007 04:07:01 +0000 (04:07 +0000)
committerDana Jansens <danakj@orodu.net>
Thu, 31 May 2007 04:07:01 +0000 (04:07 +0000)
render/theme.c
render/theme.h

index 1d47382393c667afb0075fdadbe73ab7f47d78d0..08d4b07db67b0320614d53ec4eb61f8894a4146d 100644 (file)
@@ -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)
index dda67071a91e24d3301493c5fd3d8ad11019d0a0..911366aebcd4ff0ae17332ea27f82a1300917654 100644 (file)
@@ -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);
This page took 0.033659 seconds and 4 git commands to generate.