forked from enlightenment/enlightenment
parent
c47ccbb13c
commit
d58623c0cb
|
@ -317,6 +317,13 @@ evry_plugin_free(Evry_Plugin *p, int free_pointer)
|
||||||
|
|
||||||
if (p->config)
|
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)
|
if (p->config->name)
|
||||||
eina_stringshare_del(p->config->name);
|
eina_stringshare_del(p->config->name);
|
||||||
if (p->config->trigger)
|
if (p->config->trigger)
|
||||||
|
@ -329,7 +336,6 @@ evry_plugin_free(Evry_Plugin *p, int free_pointer)
|
||||||
E_FREE(p);
|
E_FREE(p);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
Evry_Action *
|
Evry_Action *
|
||||||
evry_action_new(const char *name, const char *type_in1, const char *type_in2,
|
evry_action_new(const char *name, const char *type_in1, const char *type_in2,
|
||||||
const char *type_out, const char *icon,
|
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;
|
return act;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void
|
void
|
||||||
evry_action_free(Evry_Action *act)
|
evry_action_free(Evry_Action *act)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue