[glom/gtkmm4v4] gtkmm4: Adapt to changed on_size_allocate() signature.
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glom/gtkmm4v4] gtkmm4: Adapt to changed on_size_allocate() signature.
- Date: Wed, 1 Nov 2017 19:07:30 +0000 (UTC)
commit ea524e6de0c72b81adbb9c56be918c68aaa58a43
Author: Murray Cumming <murrayc murrayc com>
Date: Wed Nov 1 16:10:14 2017 +0100
gtkmm4: Adapt to changed on_size_allocate() signature.
glom/utility_widgets/imageglom.cc | 4 ++--
glom/utility_widgets/imageglom.h | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/glom/utility_widgets/imageglom.cc b/glom/utility_widgets/imageglom.cc
index 2b84f2f..eba26b5 100644
--- a/glom/utility_widgets/imageglom.cc
+++ b/glom/utility_widgets/imageglom.cc
@@ -245,9 +245,9 @@ Gnome::Gda::Value ImageGlom::get_value() const
return m_original_data;
}
-void ImageGlom::on_size_allocate(Gtk::Allocation& allocation)
+void ImageGlom::on_size_allocate(const Gtk::Allocation& allocation, int baseline, Gtk::Allocation& out_clip)
{
- Gtk::EventBox::on_size_allocate(allocation);
+ Gtk::EventBox::on_size_allocate(allocation, baseline, out_clip);
//Resize the GtkImage if necessary:
if(m_pixbuf_original)
diff --git a/glom/utility_widgets/imageglom.h b/glom/utility_widgets/imageglom.h
index 4b29dfc..623f3fc 100644
--- a/glom/utility_widgets/imageglom.h
+++ b/glom/utility_widgets/imageglom.h
@@ -68,7 +68,7 @@ private:
void clear_image_from_widgets();
void clear_original_data();
- void on_size_allocate(Gtk::Allocation& allocation) override;
+ void on_size_allocate(const Gtk::Allocation& allocation, int baseline, Gtk::Allocation& out_clip) override;
bool on_button_press_event(Gdk::EventButton& event) override;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]