From 6aff2f7c280631d9d8750c02d1e45ea1a342f7ea Mon Sep 17 00:00:00 2001 From: "Mario J. Rugiero" Date: Sat, 20 Dec 2014 01:04:43 -0300 Subject: [PATCH] ButtonTheme::name can be const. --- src/ButtonTheme.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ButtonTheme.hh b/src/ButtonTheme.hh index a293b71a..50358faa 100644 --- a/src/ButtonTheme.hh +++ b/src/ButtonTheme.hh @@ -41,7 +41,7 @@ public: const FbTk::Texture &pressed() const { return *m_pressed_texture; } GC gc() const { return m_gc.gc(); } int scale() const { return *m_scale; } // scale factor for inside objects - const std::string &name() { return m_name; } + const std::string &name() const { return m_name; } virtual FbTk::Signal<> &reconfigSig() { return FbTk::Theme::reconfigSig(); }