From 85b4acc916a50bea21e3154fedec305f6b54f9a4 Mon Sep 17 00:00:00 2001 From: Tim Mayberry Date: Fri, 5 Feb 2016 23:10:49 +1000 Subject: Change CairoWidget::get_active() to be const --- libs/gtkmm2ext/gtkmm2ext/cairo_widget.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3