fix thumb display race cond

SVN revision: 24468
This commit is contained in:
Carsten Haitzler 2006-08-08 11:16:19 +00:00
parent 37d43be544
commit 12c31b99bf
2 changed files with 3 additions and 0 deletions

View File

@ -685,6 +685,7 @@ _e_fm2_scan_stop(Evas_Object *obj)
} }
E_FREE(sd->tmp.list_index); E_FREE(sd->tmp.list_index);
_e_fm2_queue_free(obj); _e_fm2_queue_free(obj);
_e_fm2_obj_icons_place(sd);
} }
static void static void

View File

@ -210,6 +210,7 @@ _e_cb_timer(void *data)
/* take thumb at head of list */ /* take thumb at head of list */
if (_thumblist) if (_thumblist)
{ {
/*
for (l = _thumblist; l; l = l->next) for (l = _thumblist; l; l = l->next)
{ {
eth = l->data; eth = l->data;
@ -225,6 +226,7 @@ _e_cb_timer(void *data)
if (eth->key) free(eth->key); if (eth->key) free(eth->key);
free(eth); free(eth);
} }
*/
if (_thumblist) if (_thumblist)
{ {
eth = _thumblist->data; eth = _thumblist->data;