aboutsummaryrefslogtreecommitdiff
path: root/src/FbTk/Menu.cc
diff options
context:
space:
mode:
authorPavel Labath <pavelo@centrum.sk>2011-06-27 17:34:51 (GMT)
committerPavel Labath <pavelo@centrum.sk>2011-06-27 17:34:51 (GMT)
commit4ef496df68eb7c778e4624f924de7f93829b7ae0 (patch)
treed1aca8af94a5fbb5abac44173db5051117401dff /src/FbTk/Menu.cc
parentb08a5a2017764170706032e79ae0a8e95a928f25 (diff)
downloadfluxbox_pavel-4ef496df68eb7c778e4624f924de7f93829b7ae0.zip
fluxbox_pavel-4ef496df68eb7c778e4624f924de7f93829b7ae0.tar.bz2
A veeeery rough implementation of lua menu parsers
Diffstat (limited to 'src/FbTk/Menu.cc')
-rw-r--r--src/FbTk/Menu.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/FbTk/Menu.cc b/src/FbTk/Menu.cc
index 40f81c8..e52b4dd 100644
--- a/src/FbTk/Menu.cc
+++ b/src/FbTk/Menu.cc
@@ -219,7 +219,7 @@ Menu::~Menu() {
219 s_focused = 0; 219 s_focused = 0;
220} 220}
221 221
222int Menu::insert(const FbString &label, RefCount<Command<void> > &cmd, int pos) { 222int Menu::insert(const FbString &label, const RefCount<Command<void> > &cmd, int pos) {
223 return insert(new MenuItem(label, cmd, this), pos); 223 return insert(new MenuItem(label, cmd, this), pos);
224} 224}
225 225