From 86c6a15d8cf42da862a21e0a49d77a001a78969c Mon Sep 17 00:00:00 2001 From: sebastid Date: Fri, 28 Jul 2006 11:44:23 +0000 Subject: [PATCH] use const char with evas_stringshare SVN revision: 24274 --- src/bin/e_fm.c | 3 ++- src/bin/e_fm.h | 6 +++--- 2 files changed, 5 insertions(+), 4 deletions(-) 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 */