charmap: Fix build with gtk+ < 3.16

https://bugzilla.gnome.org/show_bug.cgi?id=749141
(cherry picked from commit ac397b59)
parent 3310cfcf
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment