From 8c7b3a2e3da76316ae1ece33599dd943d2f2e057 Mon Sep 17 00:00:00 2001 From: tchernobog Date: Thu, 14 Sep 2006 12:38:45 +0000 Subject: [PATCH] - Fix compilation. git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@1146 3ecf2c5c-341e-0410-92b4-d18e462d057c --- src/cairo_widget.cc | 7 +------ src/cairo_widget.hh | 4 ++-- 2 files changed, 3 insertions(+), 8 deletions(-) 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: