[gucharmap/gnome-3-16] charmap: Fix build with gtk+ < 3.16



commit e9efdb124e8d9385b94b68c1eac11323f4ea4555
Author: Christian Persch <chpe gnome org>
Date:   Sat May 9 09:27:31 2015 +0200

    charmap: Fix build with gtk+ < 3.16
    
    https://bugzilla.gnome.org/show_bug.cgi?id=749141
    (cherry picked from commit ac397b59fbb6327271c22099c93ad81d69746046)

 gucharmap/gucharmap-charmap.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gucharmap/gucharmap-charmap.c b/gucharmap/gucharmap-charmap.c
index 645cab0..45bf2f3 100644
--- a/gucharmap/gucharmap-charmap.c
+++ b/gucharmap/gucharmap-charmap.c
@@ -1102,8 +1102,10 @@ gucharmap_charmap_init (GucharmapCharmap *charmap)
                                   GTK_POLICY_NEVER, GTK_POLICY_AUTOMATIC);
   gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (scrolled_window),
                                        GTK_SHADOW_NONE);
+#if GTK_CHECK_VERSION (3, 15, 9)
   gtk_scrolled_window_set_overlay_scrolling (GTK_SCROLLED_WINDOW (scrolled_window),
                                              FALSE);
+#endif
 
   chartable = gucharmap_chartable_new ();
   priv->chartable = GUCHARMAP_CHARTABLE (chartable);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]