edje modules - warn - use proper hash free func prototype
This commit is contained in:
parent
0bf371856c
commit
003323f244
|
@ -76,6 +76,12 @@ _edje_module_handle_load(const char *module)
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static void
|
||||||
|
module_free(void *mod)
|
||||||
|
{
|
||||||
|
eina_module_free(mod);
|
||||||
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
_edje_module_init(void)
|
_edje_module_init(void)
|
||||||
{
|
{
|
||||||
|
@ -83,7 +89,7 @@ _edje_module_init(void)
|
||||||
unsigned int i;
|
unsigned int i;
|
||||||
unsigned int j;
|
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
|
#ifdef NEED_RUN_IN_TREE
|
||||||
#if defined(HAVE_GETUID) && defined(HAVE_GETEUID)
|
#if defined(HAVE_GETUID) && defined(HAVE_GETEUID)
|
||||||
|
|
Loading…
Reference in New Issue