diff -r 853685152c1d -r dd0ae1c62a72 ui/common/properties.c --- a/ui/common/properties.c Sun Nov 12 12:03:50 2017 +0100 +++ b/ui/common/properties.c Thu Nov 16 12:04:10 2017 +0100 @@ -183,7 +183,7 @@ -static char* uic_concat_path(char *base, char *p, char *ext) { +static char* uic_concat_path(const char *base, const char *p, const char *ext) { size_t baselen = strlen(base); UcxBuffer *buf = ucx_buffer_new(NULL, 32, UCX_BUFFER_AUTOEXTEND); @@ -213,7 +213,7 @@ pixmaps_dir = path; } -char* uic_get_image_path(char *imgfilename) { +char* uic_get_image_path(const char *imgfilename) { if(pixmaps_dir) { return uic_concat_path(pixmaps_dir, imgfilename, NULL); } else { @@ -262,7 +262,7 @@ #endif -int uic_load_language_file(char *path) { +int uic_load_language_file(const char *path) { UcxMap *lang = ucx_map_new(256); FILE *file = fopen(path, "r");