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/RootTheme.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/RootTheme.hh')
-rw-r--r-- | src/RootTheme.hh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/RootTheme.hh b/src/RootTheme.hh index 6485448..f39c264 100644 --- a/src/RootTheme.hh +++ b/src/RootTheme.hh | |||
@@ -48,7 +48,7 @@ public: | |||
48 | 48 | ||
49 | GC opGC() const { return m_opgc.gc(); } | 49 | GC opGC() const { return m_opgc.gc(); } |
50 | 50 | ||
51 | virtual FbTk::Signal<void> &reconfigSig() { return FbTk::Theme::reconfigSig(); } | 51 | virtual FbTk::Signal<> &reconfigSig() { return FbTk::Theme::reconfigSig(); } |
52 | 52 | ||
53 | virtual RootTheme &operator *() { return *this; } | 53 | virtual RootTheme &operator *() { return *this; } |
54 | virtual const RootTheme &operator *() const { return *this; } | 54 | virtual const RootTheme &operator *() const { return *this; } |