summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Mayberry <mojofunk@gmail.com>2016-02-05 23:10:49 +1000
committerTim Mayberry <mojofunk@gmail.com>2016-02-11 12:15:07 +1000
commit85b4acc916a50bea21e3154fedec305f6b54f9a4 (patch)
tree57729017c05696dfb7116292b42e51e9e08a5886
parent830db395856e04c78902a2ce56136b9f3c4d20df (diff)
Change CairoWidget::get_active() to be const
-rw-r--r--libs/gtkmm2ext/gtkmm2ext/cairo_widget.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/gtkmm2ext/gtkmm2ext/cairo_widget.h b/libs/gtkmm2ext/gtkmm2ext/cairo_widget.h
index b6b4ccd83e..f6db0dbe94 100644
--- 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