forked from enlightenment/enlightenment
parent
7ee24941ef
commit
7481612296
|
@ -140,11 +140,7 @@ e_module_new(const char *name)
|
|||
m->func.shutdown = dlsym(m->handle, "e_modapi_shutdown");
|
||||
m->func.save = dlsym(m->handle, "e_modapi_save");
|
||||
|
||||
if ((!m->func.init) ||
|
||||
(!m->func.shutdown) ||
|
||||
(!m->func.save) ||
|
||||
(!m->api)
|
||||
)
|
||||
if ((!m->func.init) || (!m->func.shutdown) || (!m->func.save) || (!m->api))
|
||||
{
|
||||
snprintf(body, sizeof(body), _("There was an error loading module named: %s<br>"
|
||||
"The full path to this module is:<br>"
|
||||
|
@ -207,8 +203,7 @@ init_done:
|
|||
{
|
||||
E_Config_Module *em;
|
||||
|
||||
em = l->data;
|
||||
if (!em) continue;
|
||||
if (!(em = l->data)) continue;
|
||||
if (!e_util_strcmp(em->name, m->name))
|
||||
{
|
||||
in_list = 1;
|
||||
|
@ -443,8 +438,7 @@ e_module_priority_set(E_Module *m, int priority)
|
|||
{
|
||||
E_Config_Module *em;
|
||||
|
||||
em = l->data;
|
||||
if (!em) continue;
|
||||
if (!(em = l->data)) continue;
|
||||
if (!e_util_strcmp(m->name, em->name))
|
||||
{
|
||||
if (em->priority != priority)
|
||||
|
@ -528,8 +522,7 @@ _e_module_event_update_free(void *data, void *event)
|
|||
{
|
||||
E_Event_Module_Update *ev;
|
||||
|
||||
ev = event;
|
||||
if (!ev) return;
|
||||
if (!(ev = event)) return;
|
||||
E_FREE(ev->name);
|
||||
E_FREE(ev);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue