Fixed so testDemandAttention compiles

This commit is contained in:
Henrik Kinnunen 2010-03-18 12:08:03 +01:00
parent 18570d83a2
commit 31a458f365

View file

@ -33,7 +33,9 @@
#include <X11/keysym.h> #include <X11/keysym.h>
#include <string> #include <string>
#include <string.h>
#include <iostream> #include <iostream>
using namespace std; using namespace std;
class App:public FbTk::App, public FbTk::EventHandler { class App:public FbTk::App, public FbTk::EventHandler {
@ -56,7 +58,7 @@ public:
XInternAtom(m_win.display(), XInternAtom(m_win.display(),
"_NET_WM_STATE_DEMANDS_ATTENTION", "_NET_WM_STATE_DEMANDS_ATTENTION",
False); False);
FbTk::RefCount<FbTk::Command> cmd(new FbTk::SimpleCommand<App> FbTk::RefCount<FbTk::Command<void> > cmd(new FbTk::SimpleCommand<App>
(*this, (*this,
&App::demandAttention)); &App::demandAttention));
timeval t; timeval t;