[niepce] No longer set follow-state on Gtk 3.16 as it is the default AND deprecated.
- From: Hubert Figuière <hub src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [niepce] No longer set follow-state on Gtk 3.16 as it is the default AND deprecated.
- Date: Fri, 5 Jun 2015 03:25:37 +0000 (UTC)
commit bdff40cda1f3d26dafe6ddf9186c5f09e182736f
Author: Hubert Figuière <hub figuiere net>
Date: Thu Jun 4 16:10:48 2015 -0400
No longer set follow-state on Gtk 3.16 as it is the default AND deprecated.
src/niepce/ui/thumbstripview.cpp | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/src/niepce/ui/thumbstripview.cpp b/src/niepce/ui/thumbstripview.cpp
index f9e93ad..b24c5f4 100644
--- a/src/niepce/ui/thumbstripview.cpp
+++ b/src/niepce/ui/thumbstripview.cpp
@@ -86,7 +86,9 @@ ThumbStripView::ThumbStripView(const Glib::RefPtr<ui::ImageListStore> & store)
m_renderer = manage(new ThumbStripCell());
pack_start(*m_renderer, FALSE);
- m_renderer->property_follow_state() = true;
+ if (gtk_check_version(3, 16, 0) != nullptr) {
+ m_renderer->property_follow_state() = true;
+ }
m_renderer->property_height() = 100;
m_renderer->property_yalign() = 0.5;
m_renderer->property_xalign() = 0.5;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]