aboutsummaryrefslogtreecommitdiff
path: root/src/FbTk/MenuItem.cc
diff options
context:
space:
mode:
authorMark Tiefenbruck <mark@fluxbox.org>2008-01-11 07:41:22 (GMT)
committerMark Tiefenbruck <mark@fluxbox.org>2008-01-11 07:41:22 (GMT)
commit9f2f65a698c4cc71373a7fe9d73a0889e0d3487b (patch)
tree4ad67db771d73ea3c48f80a1244037fc9754edd2 /src/FbTk/MenuItem.cc
parent1f01d84c080d607a91eb417efcaf5e500b5f1d7e (diff)
downloadfluxbox-9f2f65a698c4cc71373a7fe9d73a0889e0d3487b.zip
fluxbox-9f2f65a698c4cc71373a7fe9d73a0889e0d3487b.tar.bz2
make FbTk::Command a template class, split parsing information out of ObjectRegistry
Diffstat (limited to 'src/FbTk/MenuItem.cc')
-rw-r--r--src/FbTk/MenuItem.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/FbTk/MenuItem.cc b/src/FbTk/MenuItem.cc
index 1e8c8e9..81765b1 100644
--- a/src/FbTk/MenuItem.cc
+++ b/src/FbTk/MenuItem.cc
@@ -37,7 +37,7 @@ void MenuItem::click(int button, int time, unsigned int mods) {
37 if (m_menu && m_close_on_click && (mods & ControlMask) == 0) 37 if (m_menu && m_close_on_click && (mods & ControlMask) == 0)
38 m_menu->hide(); 38 m_menu->hide();
39 // we need a local variable, since the command may destroy this object 39 // we need a local variable, since the command may destroy this object
40 RefCount<Command> tmp(m_command); 40 RefCount<Command<void> > tmp(m_command);
41 tmp->execute(); 41 tmp->execute();
42 } 42 }
43} 43}