eina_model: fix uninitialized bit

SVN revision: 67416
This commit is contained in:
Gustavo Sverzut Barbieri 2012-01-21 06:26:32 +00:00
parent 22e40d2cf7
commit 8fb1d6e036
1 changed files with 1 additions and 0 deletions

View File

@ -3346,6 +3346,7 @@ eina_model_event_callback_add(Eina_Model *model, const char *event_name, Eina_Mo
el->cb = cb;
el->data = data;
el->deleted = EINA_FALSE;
model->listeners.entries[event_id] = eina_inlist_append
(model->listeners.entries[event_id], EINA_INLIST_GET(el));