inlist_count is not O(1)

SVN revision: 80827
This commit is contained in:
Mike Blumenkrantz 2012-12-13 11:52:38 +00:00
parent 9b4ec19471
commit da5caff466
1 changed files with 2 additions and 2 deletions

View File

@ -105,9 +105,9 @@ _e_fm2_op_registry_entry_listeners_call(const E_Fm2_Op_Registry_Entry_Internal *
E_Fm2_Op_Registry_Entry_Listener *listener;
Eina_Inlist *l;
if (eina_inlist_count(e->listeners) < 1) return;
if (!e->listeners) return;
EINA_INLIST_FOREACH_SAFE (e->listeners, l, listener)
EINA_INLIST_FOREACH_SAFE(e->listeners, l, listener)
listener->cb(listener->data, &e->entry);
}