diff options
-rw-r--r-- | config.h | 6 | ||||
-rw-r--r-- | rose.c | 2 |
2 files changed, 5 insertions, 3 deletions
@@ -2,8 +2,10 @@ #include <stdbool.h> /* See more: - * https://webkitgtk.org/reference/webkit2gtk/stable/class.Settings.html */ -#define WEBKIT \ + * https://webkitgtk.org/reference/webkit2gtk/stable/class.Settings.html + * +*/ +#define WEBKIT_DEFAULT_SETTINGS \ "enable-back-forward-navigation-gestures", true, "enable-developer-extras", true, \ "enable-smooth-scrolling", false, \ "default-charset", "utf-8" @@ -55,7 +55,7 @@ WebKitWebView* webview_new() WebKitCookieManager* cookiemanager; WebKitUserContentManager* contentmanager; - settings = webkit_settings_new_with_settings(WEBKIT, NULL); + settings = webkit_settings_new_with_settings(WEBKIT_DEFAULT_SETTINGS, NULL); if (CUSTOM_USER_AGENT) { webkit_settings_set_user_agent( settings, |