projects
/
framework
/
uifw
/
elementary.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
6c41cea
)
[elm_config] cache_flush_enable is adapted for re_cache
author
WooHyun Jung
<wh0705.jung@samsung.com>
Mon, 24 Jan 2011 12:16:43 +0000
(21:16 +0900)
committer
WooHyun Jung
<wh0705.jung@samsung.com>
Mon, 24 Jan 2011 12:16:43 +0000
(21:16 +0900)
src/lib/elm_config.c
patch
|
blob
|
history
diff --git
a/src/lib/elm_config.c
b/src/lib/elm_config.c
index
2003574
..
f0f5a1a
100644
(file)
--- a/
src/lib/elm_config.c
+++ b/
src/lib/elm_config.c
@@
-1095,12
+1095,15
@@
_elm_recache(void)
ecore_poller_del(_elm_cache_flush_poller);
_elm_cache_flush_poller = NULL;
}
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);
+ }
}
}
}
}