SVN revision: 25009
This commit is contained in:
sebastid 2006-08-21 16:19:24 +00:00 committed by sebastid
parent f95391cf8f
commit 7763b5b928
2 changed files with 5 additions and 4 deletions

View File

@ -179,12 +179,13 @@ static void
_cb_files_files_changed(void *data, Evas_Object *obj, void *event_info)
{
E_Config_Dialog_Data *cfdata;
char *p, *homedir, buf[4096];
const char *p;
char *homedir, buf[4096];
cfdata = data;
if (!cfdata->bg) return;
if (!cfdata->o_fm) return;
p = (char *)e_fm2_real_path_get(cfdata->o_fm);
p = e_fm2_real_path_get(cfdata->o_fm);
if (p)
{
if (strncmp(p, cfdata->bg, strlen(p))) return;

View File

@ -351,12 +351,12 @@ e_util_menu_item_edje_icon_list_set(E_Menu_Item *mi, const char *list)
EAPI int
e_util_edje_icon_set(Evas_Object *obj, const char *name)
{
char *file;
const char *file;
char buf[4096];
if ((!name) || (!name[0])) return 0;
snprintf(buf, sizeof(buf), "icons/%s", name);
file = (char *)e_theme_edje_file_get("base/theme/icons", buf);
file = e_theme_edje_file_get("base/theme/icons", buf);
if (file[0])
{
edje_object_file_set(obj, file, buf);