summaryrefslogtreecommitdiff
path: root/src/bin/e_int_config_modules.c
diff options
context:
space:
mode:
authorCarsten Haitzler <raster@rasterman.com>2007-08-04 13:12:43 +0000
committerCarsten Haitzler <raster@rasterman.com>2007-08-04 13:12:43 +0000
commita960cd070baa293d7a651844af091a51f17ccdca (patch)
tree1a31cfbcf7337e336b12f770e3e1c67407b0d3e2 /src/bin/e_int_config_modules.c
parentffa9faff454d1484ac14e1060ecf2d8503f5703b (diff)
downloadenlightenment-a960cd070baa293d7a651844af091a51f17ccdca.tar.gz
move a chunk of stuff to use evas_smart_class_new() - evas_smart_new() will
probably die as it's already got legacy funcion methods for layer etc. stuff. SVN revision: 31161
Diffstat (limited to 'src/bin/e_int_config_modules.c')
-rw-r--r--src/bin/e_int_config_modules.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/bin/e_int_config_modules.c b/src/bin/e_int_config_modules.c
index 5371600b5f..3d9061b343 100644
--- a/src/bin/e_int_config_modules.c
+++ b/src/bin/e_int_config_modules.c
@@ -572,7 +572,14 @@ _cb_unload(void *data, void *data2)
if (!item->selected) continue;
lbl = e_widget_ilist_nth_label_get(cfdata->o_loaded, idx);
mod = _get_module(cfdata, lbl);
- if ((mod) && (mod->enabled)) e_module_disable(mod);
+ if ((mod) && (mod->enabled))
+ {
+ e_module_disable(mod);
+// FIXME: we need to UNLOAD modules by deleting their objects too! right now
+// this is done next restart
+// cfdata->modules = evas_list_remove(cfdata->modules, mod);
+// e_object_del(E_OBJECT(mod));
+ }
}
if (l) evas_list_free(l);
}