now there's a good idea! let's actually USE thew config value eh?

*spank myself*



SVN revision: 56279
This commit is contained in:
Carsten Haitzler 2011-01-24 10:21:58 +00:00
parent 17d8af43e7
commit e125443cf8
1 changed files with 8 additions and 5 deletions

View File

@ -1030,12 +1030,15 @@ _elm_recache(void)
ecore_poller_del(_elm_cache_flush_poller);
_elm_cache_flush_poller = NULL;
}
if (_elm_config->cache_flush_poll_interval > 0)
if (_elm_config->cache_flush_enable)
{
_elm_cache_flush_poller =
ecore_poller_add(ECORE_POLLER_CORE,
_elm_config->cache_flush_poll_interval,
_elm_cache_flush_cb, NULL);
if (_elm_config->cache_flush_poll_interval > 0)
{
_elm_cache_flush_poller =
ecore_poller_add(ECORE_POLLER_CORE,
_elm_config->cache_flush_poll_interval,
_elm_cache_flush_cb, NULL);
}
}
}