diff options
author | Timm Bäder <mail@baedert.org> | 2020-12-18 08:36:59 +0100 |
---|---|---|
committer | Timm Bäder <mail@baedert.org> | 2020-12-21 10:26:02 +0100 |
commit | 21299cc7e44a3b7f1425f683c7c66c5a796bbbb4 (patch) | |
tree | 75de67c4ab1e46cef0f92213d62abfbafff11e42 /gtk/gtkicontheme.c | |
parent | e747ea7dfd6fd7880083d37a90591367bbe862a2 (diff) | |
download | gtk+-21299cc7e44a3b7f1425f683c7c66c5a796bbbb4.tar.gz |
icontheme: Make some constant values const
Diffstat (limited to 'gtk/gtkicontheme.c')
-rw-r--r-- | gtk/gtkicontheme.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gtk/gtkicontheme.c b/gtk/gtkicontheme.c index 08da8ce2d0..9a469bdc66 100644 --- a/gtk/gtkicontheme.c +++ b/gtk/gtkicontheme.c @@ -3867,10 +3867,10 @@ init_color_matrix (graphene_matrix_t *color_matrix, const GdkRGBA *warning_color, const GdkRGBA *error_color) { - GdkRGBA fg_default = { 0.7450980392156863, 0.7450980392156863, 0.7450980392156863, 1.0}; - GdkRGBA success_default = { 0.3046921492332342,0.6015716792553597, 0.023437857633325704, 1.0}; - GdkRGBA warning_default = {0.9570458533607996, 0.47266346227206835, 0.2421911955443656, 1.0 }; - GdkRGBA error_default = { 0.796887159533074, 0 ,0, 1.0 }; + const GdkRGBA fg_default = { 0.7450980392156863, 0.7450980392156863, 0.7450980392156863, 1.0}; + const GdkRGBA success_default = { 0.3046921492332342,0.6015716792553597, 0.023437857633325704, 1.0}; + const GdkRGBA warning_default = {0.9570458533607996, 0.47266346227206835, 0.2421911955443656, 1.0 }; + const GdkRGBA error_default = { 0.796887159533074, 0 ,0, 1.0 }; const GdkRGBA *fg = foreground_color ? foreground_color : &fg_default; const GdkRGBA *sc = success_color ? success_color : &success_default; const GdkRGBA *wc = warning_color ? warning_color : &warning_default; |