diff options
author | Pavel Labath <pavelo@centrum.sk> | 2011-05-03 10:49:05 (GMT) |
---|---|---|
committer | Pavel Labath <pavelo@centrum.sk> | 2011-05-10 11:00:45 (GMT) |
commit | 0775350fee345e37fb59835dda4d85664346b606 (patch) | |
tree | 390af82593f92e11033ca2a2590a5ec7b7a3d14c /src/ToolbarTheme.hh | |
parent | bef2039d2c5a31ab9f974059d991557276647af1 (diff) | |
download | fluxbox-0775350fee345e37fb59835dda4d85664346b606.zip fluxbox-0775350fee345e37fb59835dda4d85664346b606.tar.bz2 |
Last round of simplification of Signal/Slot classes
- merged all the common stuff from 0,1,2,3 argument versions into one common base class
- removed ReturnType template parameter as it was instantiated with "void" everywhere and the
current ignores the return value of the callbacks anyway
Diffstat (limited to 'src/ToolbarTheme.hh')
-rw-r--r-- | src/ToolbarTheme.hh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ToolbarTheme.hh b/src/ToolbarTheme.hh index dbb6786..853ea70 100644 --- a/src/ToolbarTheme.hh +++ b/src/ToolbarTheme.hh | |||
@@ -44,7 +44,7 @@ public: | |||
44 | int height() const { return *m_height; } | 44 | int height() const { return *m_height; } |
45 | int buttonSize() const { return *m_button_size; } | 45 | int buttonSize() const { return *m_button_size; } |
46 | 46 | ||
47 | virtual FbTk::Signal<void> &reconfigSig() { return FbTk::Theme::reconfigSig(); } | 47 | virtual FbTk::Signal<> &reconfigSig() { return FbTk::Theme::reconfigSig(); } |
48 | 48 | ||
49 | virtual ToolbarTheme &operator *() { return *this; } | 49 | virtual ToolbarTheme &operator *() { return *this; } |
50 | virtual const ToolbarTheme &operator *() const { return *this; } | 50 | virtual const ToolbarTheme &operator *() const { return *this; } |