projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
141e6f8
)
const where const is due
author
Robin Gareus
<robin@gareus.org>
Wed, 31 Jan 2018 02:34:21 +0000
(
03:34
+0100)
committer
Robin Gareus
<robin@gareus.org>
Wed, 31 Jan 2018 11:45:58 +0000
(12:45 +0100)
libs/widgets/widgets/ardour_button.h
patch
|
blob
|
history
diff --git
a/libs/widgets/widgets/ardour_button.h
b/libs/widgets/widgets/ardour_button.h
index b530e8b399ba29ec342b28c06113e8838cdd420c..dde9e84b0a4509b9c8a7df6009c6bc16d4729745 100644
(file)
--- 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);