icon = NEW(Efreet_Cache_Icon, 1);
icon->free = 1;
icon->fallback = 1;
-#if 0
- icon->name = eina_stringshare_add(name);
-#endif
icon->theme = NULL;
-#if 0
- icon->context = dir->context;
-#endif
}
icon->icons = eina_list_append(icon->icons, eina_stringshare_ref(ent));
{
icon = NEW(Efreet_Cache_Icon, 1);
icon->free = 1;
-#if 0
- icon->name = eina_stringshare_add(name);
-#endif
icon->theme = eina_stringshare_add(theme->name.internal);
-#if 0
- icon->context = dir->context;
-#endif
}
else if (strcmp(icon->theme, theme->name.internal))
{
if (!cache_icon_element_edd)
goto error;
-#if 0
- EET_DATA_DESCRIPTOR_ADD_BASIC(cache_icon_edd, Efreet_Cache_Icon, "name", name, EET_T_STRING);
-#endif
EET_DATA_DESCRIPTOR_ADD_BASIC(cache_icon_edd, Efreet_Cache_Icon, "theme", theme, EET_T_STRING);
-#if 0
- EET_DATA_DESCRIPTOR_ADD_BASIC(cache_icon_edd, Efreet_Cache_Icon, "context", context, EET_T_INT);
-#endif
EET_DATA_DESCRIPTOR_ADD_LIST(cache_icon_edd, Efreet_Cache_Icon, "icons", icons, cache_icon_element_edd);
-#if 0
- EET_DATA_DESCRIPTOR_ADD_BASIC(cache_icon_element_edd, Efreet_Cache_Icon_Element, "type", type, EET_T_INT);
-#endif
eet_data_descriptor_element_add(cache_icon_element_edd, "paths", EET_T_STRING, EET_G_LIST, offsetof(Efreet_Cache_Icon_Element, paths), 0, NULL, NULL);
EET_DATA_DESCRIPTOR_ADD_BASIC(cache_icon_element_edd, Efreet_Cache_Icon_Element, "size.normal", size.normal, EET_T_USHORT);
EET_DATA_DESCRIPTOR_ADD_BASIC(cache_icon_element_edd, Efreet_Cache_Icon_Element, "size.min", size.min, EET_T_USHORT);
if (!cache_icon_fallback_edd)
goto error;
-#if 0
- EET_DATA_DESCRIPTOR_ADD_BASIC(cache_icon_fallback_edd, Efreet_Cache_Icon, "name", name, EET_T_STRING);
- EET_DATA_DESCRIPTOR_ADD_BASIC(cache_icon_fallback_edd, Efreet_Cache_Icon, "theme", theme, EET_T_STRING);
- EET_DATA_DESCRIPTOR_ADD_BASIC(cache_icon_fallback_edd, Efreet_Cache_Icon, "context", context, EET_T_INT);
-#endif
EET_DATA_DESCRIPTOR_ADD_BASIC(cache_icon_fallback_edd, Efreet_Cache_Icon, "fallback", fallback, EET_T_UCHAR);
eet_data_descriptor_element_add(cache_icon_fallback_edd, "icons", EET_T_STRING, EET_G_LIST, offsetof(Efreet_Cache_Icon, icons), 0, NULL, NULL);
}
if (!icon) return;
if (icon->free)
- {
-#if 0
- eina_stringshare_del(icon->name);
-#endif
eina_stringshare_del(icon->theme);
- }
EINA_LIST_FREE(icon->icons, data)
{