From 6253a2f91bb2cd0691230417dcfc8763d9e38499 Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Thu, 28 Nov 2013 09:38:02 -0500 Subject: [PATCH] instead of just removing comp module on load attempt, replace it with conf_comp and enable it --- src/bin/e_module.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/bin/e_module.c b/src/bin/e_module.c index 9b9041a54..cfc89032c 100644 --- a/src/bin/e_module.c +++ b/src/bin/e_module.c @@ -226,10 +226,8 @@ e_module_all_load(void) if (!e_util_strcmp(em->name, "comp")) { - e_config->modules = eina_list_remove_list(e_config->modules, l); - eina_stringshare_del(em->name); - free(em); - continue; + eina_stringshare_replace(&em->name, "conf_comp"); + em->enabled = 1; } if ((em->delayed) && (em->enabled) && (!e_config->no_module_delay)) {