aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMario J. Rugiero <mrugiero@gmail.com>2014-12-20 04:04:43 (GMT)
committerMathias Gumz <akira@fluxbox.org>2015-05-01 08:46:21 (GMT)
commit6aff2f7c280631d9d8750c02d1e45ea1a342f7ea (patch)
treee185c3fad9474da4442c3a3da1b590fbcef22bd0
parent9667d538eb88b19e2e73484b69499dfd3f39a729 (diff)
downloadfluxbox-6aff2f7c280631d9d8750c02d1e45ea1a342f7ea.zip
fluxbox-6aff2f7c280631d9d8750c02d1e45ea1a342f7ea.tar.bz2
ButtonTheme::name can be const.
-rw-r--r--src/ButtonTheme.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ButtonTheme.hh b/src/ButtonTheme.hh
index a293b71..50358fa 100644
--- a/src/ButtonTheme.hh
+++ b/src/ButtonTheme.hh
@@ -41,7 +41,7 @@ public:
41 const FbTk::Texture &pressed() const { return *m_pressed_texture; } 41 const FbTk::Texture &pressed() const { return *m_pressed_texture; }
42 GC gc() const { return m_gc.gc(); } 42 GC gc() const { return m_gc.gc(); }
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() const { return m_name; }
45 45
46 virtual FbTk::Signal<> &reconfigSig() { return FbTk::Theme::reconfigSig(); } 46 virtual FbTk::Signal<> &reconfigSig() { return FbTk::Theme::reconfigSig(); }
47 47