[glom/gtkmm4v4: 24/37] gtkmm4: FlowTable: Fix the build.
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glom/gtkmm4v4: 24/37] gtkmm4: FlowTable: Fix the build.
- Date: Wed, 15 Mar 2017 14:55:59 +0000 (UTC)
commit a2ec814c5a75b40babd1f7846023839229684401
Author: Murray Cumming <murrayc murrayc com>
Date: Wed Mar 15 09:40:13 2017 +0100
gtkmm4: FlowTable: Fix the build.
glom/utility_widgets/flowtable.cc | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/glom/utility_widgets/flowtable.cc b/glom/utility_widgets/flowtable.cc
index 3b8087f..7c00928 100644
--- a/glom/utility_widgets/flowtable.cc
+++ b/glom/utility_widgets/flowtable.cc
@@ -30,8 +30,8 @@ namespace Glom
FlowTable::FlowTable()
: Glib::ObjectBase("flowtable"),
- Gtk::WidgetCustomDraw();
-: m_design_mode(false)
+ Gtk::WidgetCustomDraw(),
+ m_design_mode(false)
{
//Default to disabling drag and drop:
set_drag_enabled(EGG_DRAG_DISABLED);
@@ -243,9 +243,9 @@ bool FlowTable::get_column_for_first_widget(const Gtk::Widget& first, guint& col
bool FlowTable::on_draw(const Cairo::RefPtr<Cairo::Context>& cr)
{
- const auto result = Egg::SpreadTableDnd::on_draw(cr);
+ // TODO ? const auto result = Egg::SpreadTableDnd::on_draw(cr);
if(!m_design_mode)
- return result;
+ return true;
cr->set_line_width(1);
cr->set_line_cap(Cairo::LINE_CAP_SQUARE);
@@ -285,7 +285,7 @@ bool FlowTable::on_draw(const Cairo::RefPtr<Cairo::Context>& cr)
//cr->stroke();
}
- return result;
+ return true;
}
} //namespace Glom
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]