summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Catanzaro <mcatanzaro@redhat.com>2023-01-19 20:12:04 -0600
committerMichael Catanzaro <mcatanzaro@redhat.com>2023-01-19 20:12:04 -0600
commit6f4d38537ec2192d7066a7ba145ca7ab0f607e56 (patch)
treeda091de0b3eb705502e4fdb8f82c1f4c037c0763
parentc92c49b94de93a02687740f71c0ccb8eb57fe454 (diff)
downloadevolution-data-server-6f4d38537ec2192d7066a7ba145ca7ab0f607e56.tar.gz
M!112 - Update for removal of WebKitGTK sandbox API
WebKitGTK 2.39.5 contains an ABI break. The sandbox is now mandatory, so the function to enable/disable it has been removed.
-rw-r--r--src/libedataserverui/e-credentials-prompter-impl-oauth2.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libedataserverui/e-credentials-prompter-impl-oauth2.c b/src/libedataserverui/e-credentials-prompter-impl-oauth2.c
index 099a8f20c..0e5fb582f 100644
--- a/src/libedataserverui/e-credentials-prompter-impl-oauth2.c
+++ b/src/libedataserverui/e-credentials-prompter-impl-oauth2.c
@@ -1149,7 +1149,9 @@ e_credentials_prompter_impl_oauth2_show_dialog (ECredentialsPrompterImplOAuth2 *
NULL);
web_context = webkit_web_context_new ();
+#if !WEBKIT_CHECK_VERSION(2, 39, 5)
webkit_web_context_set_sandbox_enabled (web_context, TRUE);
+#endif
credentials_prompter_impl_oauth2_set_proxy (web_context, e_credentials_prompter_get_registry (prompter), prompter_oauth2->priv->auth_source);
widget = g_object_new (WEBKIT_TYPE_WEB_VIEW,