use const char with evas_stringshare

SVN revision: 24274
This commit is contained in:
sebastid 2006-07-28 11:44:23 +00:00 committed by sebastid
parent aaefe4fb9b
commit 86c6a15d8c
2 changed files with 5 additions and 4 deletions

View File

@ -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;

View File

@ -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 */