projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
830db39
)
Change CairoWidget::get_active() to be const
author
Tim Mayberry
<mojofunk@gmail.com>
Fri, 5 Feb 2016 13:10:49 +0000
(23:10 +1000)
committer
Tim Mayberry
<mojofunk@gmail.com>
Thu, 11 Feb 2016 02:15:07 +0000
(12:15 +1000)
libs/gtkmm2ext/gtkmm2ext/cairo_widget.h
patch
|
blob
|
history
diff --git
a/libs/gtkmm2ext/gtkmm2ext/cairo_widget.h
b/libs/gtkmm2ext/gtkmm2ext/cairo_widget.h
index b6b4ccd83e0c7e2626928e3d755ea42110146c8c..f6db0dbe94c0ef8e528d804fe236ee0afcb721a7 100644
(file)
--- a/
libs/gtkmm2ext/gtkmm2ext/cairo_widget.h
+++ b/
libs/gtkmm2ext/gtkmm2ext/cairo_widget.h
@@
-54,7
+54,7
@@
public:
that only use the Active and Normal active states.
*/
void set_active (bool);
- bool get_active () { return active_state() != Gtkmm2ext::Off; }
+ bool get_active ()
const
{ return active_state() != Gtkmm2ext::Off; }
/* widgets can be told to only draw their "foreground, and thus leave
in place whatever background is drawn by their parent. the default