diff --git a/src/bin/e_fm.c b/src/bin/e_fm.c index e3df9acbc..1e0aee927 100644 --- a/src/bin/e_fm.c +++ b/src/bin/e_fm.c @@ -1375,7 +1375,8 @@ _e_fm2_icon_deselect(E_Fm2_Icon *ic) static const char * _e_fm2_icon_desktop_url_eval(const char *val) { - char *path, *p, *s; + const char *s; + char *path, *p; if (strlen(val) < 6) return NULL; if (strncmp(val, "file:", 5)) return NULL; diff --git a/src/bin/e_fm.h b/src/bin/e_fm.h index cf8647af5..2def4446f 100644 --- a/src/bin/e_fm.h +++ b/src/bin/e_fm.h @@ -66,9 +66,9 @@ struct _E_Fm2_Config /* the background - if any, and how to handle it */ /* FIXME: not implemented yet */ struct { - char *background; - char *frame; - char *icons; + const char *background; + const char *frame; + const char *icons; unsigned char fixed; } theme; /* used internally only - used to save to disk only and laod from disk */