Commit 22f7154d authored by Alexander Mikhaylenko's avatar Alexander Mikhaylenko Committed by David King

view: Enable WebKit back-forward swipe gesture

WebKitGTK supports back-forward navigation gesture since 2.23.90. Make use
of it in Yelp.
parent e830016d
......@@ -150,7 +150,11 @@ yelp_view_get_global_settings (void)
static WebKitSettings *websettings = NULL;
if (!websettings)
websettings = webkit_settings_new_with_settings ("default-charset", "utf-8", NULL);
websettings = webkit_settings_new_with_settings ("default-charset", "utf-8",
#if WEBKIT_CHECK_VERSION(2, 23, 4)
"enable-back-forward-navigation-gestures", TRUE,
#endif
NULL);
return websettings;
}
......
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