aboutsummaryrefslogtreecommitdiff
path: root/src/ButtonTheme.hh
diff options
context:
space:
mode:
authorPavel Labath <pavelo@centrum.sk>2011-05-03 10:49:05 (GMT)
committerPavel Labath <pavelo@centrum.sk>2011-05-10 11:00:45 (GMT)
commit0775350fee345e37fb59835dda4d85664346b606 (patch)
tree390af82593f92e11033ca2a2590a5ec7b7a3d14c /src/ButtonTheme.hh
parentbef2039d2c5a31ab9f974059d991557276647af1 (diff)
downloadfluxbox_pavel-0775350fee345e37fb59835dda4d85664346b606.zip
fluxbox_pavel-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/ButtonTheme.hh')
-rw-r--r--src/ButtonTheme.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ButtonTheme.hh b/src/ButtonTheme.hh
index 77cc159..a293b71 100644
--- a/src/ButtonTheme.hh
+++ b/src/ButtonTheme.hh
@@ -43,7 +43,7 @@ public:
43 int scale() const { return *m_scale; } // scale factor for inside objects 43 int scale() const { return *m_scale; } // scale factor for inside objects
44 const std::string &name() { return m_name; } 44 const std::string &name() { return m_name; }
45 45
46 virtual FbTk::Signal<void> &reconfigSig() { return FbTk::Theme::reconfigSig(); } 46 virtual FbTk::Signal<> &reconfigSig() { return FbTk::Theme::reconfigSig(); }
47 47
48 virtual ButtonTheme &operator *() { return *this; } 48 virtual ButtonTheme &operator *() { return *this; }
49 virtual const ButtonTheme &operator *() const { return *this; } 49 virtual const ButtonTheme &operator *() const { return *this; }