edje modules - warn - use proper hash free func prototype

This commit is contained in:
Carsten Haitzler 2018-11-08 15:13:01 +00:00
parent 0bf371856c
commit 003323f244
1 changed files with 7 additions and 1 deletions

View File

@ -76,6 +76,12 @@ _edje_module_handle_load(const char *module)
return NULL;
}
static void
module_free(void *mod)
{
eina_module_free(mod);
}
void
_edje_module_init(void)
{
@ -83,7 +89,7 @@ _edje_module_init(void)
unsigned int i;
unsigned int j;
_registered_modules = eina_hash_string_small_new(EINA_FREE_CB(eina_module_free));
_registered_modules = eina_hash_string_small_new(module_free);
#ifdef NEED_RUN_IN_TREE
#if defined(HAVE_GETUID) && defined(HAVE_GETEUID)