diff options
author | Mark Tiefenbruck <mark@fluxbox.org> | 2008-01-11 07:41:22 (GMT) |
---|---|---|
committer | Mark Tiefenbruck <mark@fluxbox.org> | 2008-01-11 07:41:22 (GMT) |
commit | 9f2f65a698c4cc71373a7fe9d73a0889e0d3487b (patch) | |
tree | 4ad67db771d73ea3c48f80a1244037fc9754edd2 /src/FbTk/ImageControl.cc | |
parent | 1f01d84c080d607a91eb417efcaf5e500b5f1d7e (diff) | |
download | fluxbox-9f2f65a698c4cc71373a7fe9d73a0889e0d3487b.zip fluxbox-9f2f65a698c4cc71373a7fe9d73a0889e0d3487b.tar.bz2 |
make FbTk::Command a template class, split parsing information out of ObjectRegistry
Diffstat (limited to 'src/FbTk/ImageControl.cc')
-rw-r--r-- | src/FbTk/ImageControl.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/FbTk/ImageControl.cc b/src/FbTk/ImageControl.cc index 394939a..1281b56 100644 --- a/src/FbTk/ImageControl.cc +++ b/src/FbTk/ImageControl.cc | |||
@@ -112,7 +112,7 @@ ImageControl::ImageControl(int screen_num, bool dither, | |||
112 | 112 | ||
113 | if (cache_timeout && s_timed_cache) { | 113 | if (cache_timeout && s_timed_cache) { |
114 | m_timer.setTimeout(cache_timeout); | 114 | m_timer.setTimeout(cache_timeout); |
115 | RefCount<Command> clean_cache(new SimpleCommand<ImageControl>(*this, &ImageControl::cleanCache)); | 115 | RefCount<Command<void> > clean_cache(new SimpleCommand<ImageControl>(*this, &ImageControl::cleanCache)); |
116 | m_timer.setCommand(clean_cache); | 116 | m_timer.setCommand(clean_cache); |
117 | m_timer.start(); | 117 | m_timer.start(); |
118 | } | 118 | } |