diff options
author | Mark Tiefenbruck <mark@fluxbox.org> | 2008-01-11 07:41:22 (GMT) |
---|---|---|
committer | Mark Tiefenbruck <mark@fluxbox.org> | 2008-01-11 07:41:22 (GMT) |
commit | 9f2f65a698c4cc71373a7fe9d73a0889e0d3487b (patch) | |
tree | 4ad67db771d73ea3c48f80a1244037fc9754edd2 /src/FbTk/Button.cc | |
parent | 1f01d84c080d607a91eb417efcaf5e500b5f1d7e (diff) | |
download | fluxbox-9f2f65a698c4cc71373a7fe9d73a0889e0d3487b.zip fluxbox-9f2f65a698c4cc71373a7fe9d73a0889e0d3487b.tar.bz2 |
make FbTk::Command a template class, split parsing information out of ObjectRegistry
Diffstat (limited to 'src/FbTk/Button.cc')
-rw-r--r-- | src/FbTk/Button.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/FbTk/Button.cc b/src/FbTk/Button.cc index 25f9a5c..bcdc90e 100644 --- a/src/FbTk/Button.cc +++ b/src/FbTk/Button.cc | |||
@@ -62,7 +62,7 @@ Button::~Button() { | |||
62 | } | 62 | } |
63 | } | 63 | } |
64 | 64 | ||
65 | void Button::setOnClick(RefCount<Command> &cmd, int button) { | 65 | void Button::setOnClick(RefCount<Command<void> > &cmd, int button) { |
66 | // we only handle buttons 1 to 5 | 66 | // we only handle buttons 1 to 5 |
67 | if (button > 5 || button == 0) | 67 | if (button > 5 || button == 0) |
68 | return; | 68 | return; |