static Eina_Hash *pixmaps[E_PIXMAP_TYPE_MAX] = {NULL};
static Eina_Hash *res_ids = NULL;
static uint32_t res_id = 0;
-static Eina_Hash *aliases[E_PIXMAP_TYPE_MAX] = {NULL};
static uint32_t dummy_pixmap_id = 1; // dummy id starts from 1
struct _E_Pixmap
_e_pixmap_find(E_Pixmap_Type type, va_list *l)
{
uintptr_t id;
- E_Pixmap *cp;
if (!pixmaps[type]) return NULL;
id = va_arg(*l, uintptr_t);
- cp = eina_hash_find(aliases[type], &id);
- if (!cp) cp = eina_hash_find(pixmaps[type], &id);
- return cp;
+ return eina_hash_find(pixmaps[type], &id);
}
// --------------------------------------------------------