aboutsummaryrefslogtreecommitdiff
path: root/src/ButtonTheme.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/ButtonTheme.hh')
-rw-r--r--src/ButtonTheme.hh4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ButtonTheme.hh b/src/ButtonTheme.hh
index 7f43eb9..95a4e32 100644
--- a/src/ButtonTheme.hh
+++ b/src/ButtonTheme.hh
@@ -46,8 +46,8 @@ public:
46 virtual FbTk::Subject &reconfigSig() { return FbTk::Theme::reconfigSig(); } 46 virtual FbTk::Subject &reconfigSig() { return FbTk::Theme::reconfigSig(); }
47 virtual const FbTk::Subject &reconfigSig() const { return FbTk::Theme::reconfigSig(); } 47 virtual const FbTk::Subject &reconfigSig() const { return FbTk::Theme::reconfigSig(); }
48 48
49 virtual ButtonTheme *operator ->() { return this; } 49 virtual ButtonTheme &operator *() { return *this; }
50 virtual const ButtonTheme *operator ->() const { return this; } 50 virtual const ButtonTheme &operator *() const { return *this; }
51 51
52private: 52private:
53 FbTk::ThemeItem<FbTk::Color> m_pic_color; 53 FbTk::ThemeItem<FbTk::Color> m_pic_color;