+ /* removes the units */
+ ifo = wgt_info_createat(AT_FDCWD, path, 1, 1, 1);
+ if (!ifo) {
+ ERROR("can't read widget config in directory '%s': %m", path);
+ return -1;
+ }
+ uconf.installdir = path;
+ uconf.icondir = FWK_ICON_DIR;
+ uconf.new_afid = 0;
+ uconf.base_http_ports = 0;
+ unit_uninstall(ifo, &uconf);
+ wgt_info_unref(ifo);
+