diff --git a/src/cairo_widget.cc b/src/cairo_widget.cc index 26dff27..1a25e3a 100644 --- a/src/cairo_widget.cc +++ b/src/cairo_widget.cc @@ -57,7 +57,7 @@ CairoWidget::set_scaling_mode(CairoWidget::scaling_mode scaling) } CairoWidget::scaling_mode -CairoWidget::get_scaling_mode() +CairoWidget::get_scaling_mode() const { return _scaling_mode; } @@ -253,11 +253,6 @@ CairoWidget::calc_scale_factors() } } -bool -CairoWidget::on_button_press_event(GdkEventButton* event) -{ - return false; -} void CairoWidget::redraw() diff --git a/src/cairo_widget.hh b/src/cairo_widget.hh index 4ed89c7..2299835 100644 --- a/src/cairo_widget.hh +++ b/src/cairo_widget.hh @@ -233,12 +233,12 @@ namespace sgpem /** * \brief Calculated width of drawing. - *; + */ mutable size_t _draw_w; /** * \brief Calculated height of drawing. - *; + */ mutable size_t _draw_h; private: