diff options
Diffstat (limited to 'src/tests/testDemandAttention.cc')
-rw-r--r-- | src/tests/testDemandAttention.cc | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/tests/testDemandAttention.cc b/src/tests/testDemandAttention.cc index 10fadb3..914f369 100644 --- a/src/tests/testDemandAttention.cc +++ b/src/tests/testDemandAttention.cc | |||
@@ -61,10 +61,7 @@ public: | |||
61 | FbTk::RefCount<FbTk::Command<void> > cmd(new FbTk::SimpleCommand<App> | 61 | FbTk::RefCount<FbTk::Command<void> > cmd(new FbTk::SimpleCommand<App> |
62 | (*this, | 62 | (*this, |
63 | &App::demandAttention)); | 63 | &App::demandAttention)); |
64 | timeval t; | 64 | m_timer.setTimeout(5 * FbTk::FbTime::IN_SECONDS); |
65 | t.tv_sec = 5; | ||
66 | t.tv_usec = 0; | ||
67 | m_timer.setTimeout(t); | ||
68 | m_timer.setCommand(cmd); | 65 | m_timer.setCommand(cmd); |
69 | m_timer.fireOnce(false); | 66 | m_timer.fireOnce(false); |
70 | m_timer.start(); | 67 | m_timer.start(); |