inlist_count is not O(1)

SVN revision: 80827
devs/princeamd/enlightenment-0.17-elive
Mike Blumenkrantz 10 years ago
parent 9b4ec19471
commit da5caff466
  1. 4
      src/bin/e_fm_op_registry.c

@ -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);
}

Loading…
Cancel
Save