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);