diff options
author | Dave Davenport <qball@gmpclient.org> | 2017-05-11 18:30:44 +0200 |
---|---|---|
committer | Dave Davenport <qball@gmpclient.org> | 2017-05-11 18:30:44 +0200 |
commit | 67e38cde406103df7689441335cd03cc4a68e695 (patch) | |
tree | b8e6141f7eeada50ad46caa6324728d9f3a7c456 /source/theme.c | |
parent | 76244fedc0b9726626a03ca6528ab3e3e1d49fe4 (diff) |
Fix some clang compiler warnings
Diffstat (limited to 'source/theme.c')
-rw-r--r-- | source/theme.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source/theme.c b/source/theme.c index 1902970e..e31d0027 100644 --- a/source/theme.c +++ b/source/theme.c @@ -639,7 +639,7 @@ void rofi_theme_convert_old ( void ) { if ( config.color_window ) { char **retv = g_strsplit ( config.color_window, ",", -1 ); - const char const *conf[] = { + const char * const conf[] = { "* { background: %s; }", "* { bordercolor: %s; }", "* { separatorcolor: %s; }" @@ -653,7 +653,7 @@ void rofi_theme_convert_old ( void ) } if ( config.color_normal ) { char **retv = g_strsplit ( config.color_normal, ",", -1 ); - const char const *conf[] = { + const char * const conf[] = { "* { normal-background: %s; }", "* { foreground: %s; normal-foreground: @foreground; alternate-normal-foreground: @foreground; }", "* { alternate-normal-background: %s; }", @@ -669,7 +669,7 @@ void rofi_theme_convert_old ( void ) } if ( config.color_urgent ) { char **retv = g_strsplit ( config.color_urgent, ",", -1 ); - const char const *conf[] = { + const char * const conf[] = { "* { urgent-background: %s; }", "* { urgent-foreground: %s; alternate-urgent-foreground: @urgent-foreground;}", "* { alternate-urgent-background: %s; }", @@ -685,7 +685,7 @@ void rofi_theme_convert_old ( void ) } if ( config.color_active ) { char **retv = g_strsplit ( config.color_active, ",", -1 ); - const char const *conf[] = { + const char * const conf[] = { "* { active-background: %s; }", "* { active-foreground: %s; alternate-active-foreground: @active-foreground;}", "* { alternate-active-background: %s; }", |