forked from enlightenment/enlightenment
slightly more responsive timer and reset object id's once there are none
around :) SVN revision: 23754
This commit is contained in:
parent
2bf3acac8b
commit
71f3865361
|
@ -282,6 +282,7 @@ _e_thumb_hash_del(int objid)
|
|||
|
||||
snprintf(buf, sizeof(buf), "%i", objid);
|
||||
_thumbs = evas_hash_del(_thumbs, buf, NULL);
|
||||
if (!_thumbs) _objid = 0;
|
||||
}
|
||||
|
||||
static Evas_Object *
|
||||
|
|
|
@ -211,7 +211,7 @@ _e_cb_timer(void *data)
|
|||
if (eth->file) free(eth->file);
|
||||
if (eth->key) free(eth->key);
|
||||
free(eth);
|
||||
if (_thumblist) _timer = ecore_timer_add(0.001, _e_cb_timer, NULL);
|
||||
if (_thumblist) _timer = ecore_timer_add(0.00001, _e_cb_timer, NULL);
|
||||
else _timer = NULL;
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue