'everything' module CLEANUP!

SVN revision: 41937
This commit is contained in:
Hannes Janetzek 2009-08-23 05:46:54 +00:00
parent c47ccbb13c
commit d58623c0cb
1 changed files with 18 additions and 13 deletions

View File

@ -317,6 +317,13 @@ evry_plugin_free(Evry_Plugin *p, int free_pointer)
if (p->config)
{
if (p->type == type_subject)
evry_conf->conf_subjects = eina_list_remove(evry_conf->conf_subjects, p->config);
else if (p->type == type_action)
evry_conf->conf_actions = eina_list_remove(evry_conf->conf_actions, p->config);
else if (p->type == type_object)
evry_conf->conf_objects = eina_list_remove(evry_conf->conf_objects, p->config);
if (p->config->name)
eina_stringshare_del(p->config->name);
if (p->config->trigger)
@ -329,7 +336,6 @@ evry_plugin_free(Evry_Plugin *p, int free_pointer)
E_FREE(p);
}
Evry_Action *
evry_action_new(const char *name, const char *type_in1, const char *type_in2,
const char *type_out, const char *icon,
@ -353,7 +359,6 @@ evry_action_new(const char *name, const char *type_in1, const char *type_in2,
return act;
}
void
evry_action_free(Evry_Action *act)
{