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/WinButtonTheme.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/WinButtonTheme.hh')
-rw-r--r-- | src/WinButtonTheme.hh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/WinButtonTheme.hh b/src/WinButtonTheme.hh index f7f2337..4765822 100644 --- a/src/WinButtonTheme.hh +++ b/src/WinButtonTheme.hh | |||
@@ -65,7 +65,7 @@ public: | |||
65 | FbTk::PixmapWithMask &titlePixmap() { return *m_title_pm; } | 65 | FbTk::PixmapWithMask &titlePixmap() { return *m_title_pm; } |
66 | const FbTk::PixmapWithMask &titlePixmap() const { return *m_title_pm; } | 66 | const FbTk::PixmapWithMask &titlePixmap() const { return *m_title_pm; } |
67 | 67 | ||
68 | virtual FbTk::Signal<void> &reconfigSig() { return FbTk::Theme::reconfigSig(); } | 68 | virtual FbTk::Signal<> &reconfigSig() { return FbTk::Theme::reconfigSig(); } |
69 | 69 | ||
70 | virtual WinButtonTheme &operator *() { return *this; } | 70 | virtual WinButtonTheme &operator *() { return *this; } |
71 | virtual const WinButtonTheme &operator *() const { return *this; } | 71 | virtual const WinButtonTheme &operator *() const { return *this; } |