diff options
Diffstat (limited to 'src/tests/titletest.cc')
-rw-r--r-- | src/tests/titletest.cc | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/tests/titletest.cc b/src/tests/titletest.cc index 9ea94f1..e16435a 100644 --- a/src/tests/titletest.cc +++ b/src/tests/titletest.cc | |||
@@ -52,10 +52,7 @@ public: | |||
52 | FbTk::RefCount<FbTk::Command> cmd(new FbTk::SimpleCommand<App> | 52 | FbTk::RefCount<FbTk::Command> cmd(new FbTk::SimpleCommand<App> |
53 | (*this, | 53 | (*this, |
54 | &App::updateTitle)); | 54 | &App::updateTitle)); |
55 | timeval t; | 55 | m_timer.setTimeout(150 * FbTk::FbTime::IN_MILLISECONDS); |
56 | t.tv_sec = 0; | ||
57 | t.tv_usec = 150000; | ||
58 | m_timer.setTimeout(t); | ||
59 | m_timer.setCommand(cmd); | 56 | m_timer.setCommand(cmd); |
60 | m_timer.fireOnce(false); | 57 | m_timer.fireOnce(false); |
61 | m_timer.start(); | 58 | m_timer.start(); |