projects
/
platform
/
upstream
/
elementary.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ed59af9
)
tip from Bluezery in case of silliness in settingflush poll time <= 0.
author
Carsten Haitzler
<raster@rasterman.com>
Thu, 24 May 2012 05:43:48 +0000
(
05:43
+0000)
committer
Carsten Haitzler
<raster@rasterman.com>
Thu, 24 May 2012 05:43:48 +0000
(
05:43
+0000)
SVN revision: 71388
src/lib/elm_config.c
patch
|
blob
|
history
diff --git
a/src/lib/elm_config.c
b/src/lib/elm_config.c
index
451bc4e
..
7eef487
100644
(file)
--- a/
src/lib/elm_config.c
+++ b/
src/lib/elm_config.c
@@
-1736,6
+1736,7
@@
elm_config_cache_flush_interval_get(void)
EAPI void
elm_config_cache_flush_interval_set(int size)
{
+ EINA_SAFETY_ON_FALSE_RETURN(size > 0);
if (_elm_config->cache_flush_poll_interval == size) return;
_elm_config->cache_flush_poll_interval = size;