Commit [b9265d] Maximize Restore History

gsb_color_* functions: use const for constant strings

Fix compiler warnings:
bet_tab.c:2326:97: warning: passing 'const char [13]' to parameter of type 'gcha
r *' (aka 'char *') discards qualifiers [-Wincompatible-pointer-types-discards-q
ualifiers]

SPP_ESTIMATE_TREE_BACKGROUND_COLOR, gsb_colo
r_get_couleur ( "couleur_jour" ),

^~~~~~~~~~~~~~
./gsb_color.h:14:42: note: passing argument to parameter 'couleur' here
GdkColor *gsb_color_get_couleur ( gchar *couleur );
^

Ludovic Rousseau Ludovic Rousseau 2013-11-22

changed src
changed src/gsb_color.c
changed src/gsb_color.h
src
Directory.
src/gsb_color.c Diff Switch to side-by-side view
Loading...
src/gsb_color.h Diff Switch to side-by-side view
Loading...