[glom: 7/8] Fix the build with gtkmm < 2.18.
- From: Murray Cumming <murrayc src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [glom: 7/8] Fix the build with gtkmm < 2.18.
- Date: Fri, 25 Sep 2009 15:53:54 +0000 (UTC)
commit 5b9fc03bfeff962324190eb2eefa5a29e3befd41
Author: Murray Cumming <murrayc murrayc com>
Date: Fri Sep 25 17:51:24 2009 +0200
Fix the build with gtkmm < 2.18.
* glom/utility_widgets/flowtable.cc: Correct the use of
GTKMM_MINOR_VERSION to fix the build with older gtkmm versions.
ChangeLog | 7 +++++++
glom/utility_widgets/flowtable.cc | 2 +-
2 files changed, 8 insertions(+), 1 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index a45cfc4..2c01562 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2009-09-25 Murray Cumming <murrayc murrayc com>
+
+ Fix the build with gtkmm < 2.18.
+
+ * glom/utility_widgets/flowtable.cc: Correct the use of
+ GTKMM_MINOR_VERSION to fix the build with older gtkmm versions.
+
1.12.0:
2009-09-25 Murray Cumming <murrayc murrayc com>
diff --git a/glom/utility_widgets/flowtable.cc b/glom/utility_widgets/flowtable.cc
index c6e9ace..857673f 100644
--- a/glom/utility_widgets/flowtable.cc
+++ b/glom/utility_widgets/flowtable.cc
@@ -921,7 +921,7 @@ void FlowTable::set_padding(guint padding)
bool FlowTable::child_is_visible(const Gtk::Widget* widget) const
{
- #if GTKMM_MINOR_VERSION >= 11
+ #if GTKMM_MINOR_VERSION >= 18
return widget && widget->get_visible();
#else
return widget && widget->is_visible();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]