Eina_List *l;
Eina_Hash *images_in_use;
void *data;
+ Eina_Bool is_lua = FALSE;
/* remove all unreferenced Edje_Part_Collection */
EINA_LIST_FOREACH_SAFE(edje_collections, l, l2, pc)
unsigned int count = 0;
unsigned int i;
+ if (pc->lua_script_only)
+ is_lua = TRUE;
#define PROGRAM_ID_SET(Type, Pc, It, Count) \
for (It = 0; It < Pc->programs.Type ## _count; ++It) \
{ \
free(image);
}
- if (edje_file->image_dir)
+ if (edje_file->image_dir && !is_lua)
{
Edje_Image_Directory_Entry *de;
Edje_Image_Directory_Set *set;