summaryrefslogtreecommitdiff
path: root/libs/widgets
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2018-01-31 03:34:21 +0100
committerRobin Gareus <robin@gareus.org>2018-01-31 12:45:58 +0100
commitd97973925d279c07efbafb229b748eb33b8bee8c (patch)
tree746e47bfbc42eeada2f44b7a2352b02caaa97ac7 /libs/widgets
parent141e6f848e05824f98b504d46b9fe3509e767614 (diff)
const where const is due
Diffstat (limited to 'libs/widgets')
-rw-r--r--libs/widgets/widgets/ardour_button.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/widgets/widgets/ardour_button.h b/libs/widgets/widgets/ardour_button.h
index b530e8b399..dde9e84b0a 100644
--- a/libs/widgets/widgets/ardour_button.h
+++ b/libs/widgets/widgets/ardour_button.h
@@ -87,7 +87,7 @@ class LIBWIDGETS_API ArdourButton : public CairoWidget , public Gtkmm2ext::Activ
void set_corner_radius (float);
void set_text (const std::string&, bool markup = false);
- const std::string& get_text () { return _text; }
+ const std::string& get_text () const { return _text; }
bool get_markup () const { return _markup; }
void set_angle (const double);
void set_alignment (const float, const float);