aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/edje
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2018-11-08 15:13:01 +0000
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2018-11-09 11:44:00 +0000
commit003323f244eccf6dd52b6e4be99ff258d61e580b (patch)
tree3f86e0a948e950f47ae7620a21c1fb2716ed9b53 /src/lib/edje
parentedje program - warn - handle theoretical null seat string (diff)
downloadefl-003323f244eccf6dd52b6e4be99ff258d61e580b.tar.gz
edje modules - warn - use proper hash free func prototype
Diffstat (limited to 'src/lib/edje')
-rw-r--r--src/lib/edje/edje_module.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/lib/edje/edje_module.c b/src/lib/edje/edje_module.c
index eb2d6c97ee..217c1b138e 100644
--- a/src/lib/edje/edje_module.c
+++ b/src/lib/edje/edje_module.c
@@ -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)