I#2083 - Enable sandboxing for WebKitGTK 2.38.0+
The printing bug had been fixed for WebKitGTK 2.38.0, thus enable sandboxing for that and later versions. Closes https://gitlab.gnome.org/GNOME/evolution/-/issues/2083
This commit is contained in:
parent
ae8afb57e9
commit
68da8385f0
@ -569,9 +569,12 @@ main (gint argc,
|
||||
return 0;
|
||||
}
|
||||
|
||||
/* Disable sandboxing to enable printing, until WebKitGTK is fixed:
|
||||
https://bugs.webkit.org/show_bug.cgi?id=202363 */
|
||||
g_setenv ("WEBKIT_FORCE_SANDBOX", "0", FALSE);
|
||||
/* The bug is fixed in 2.38.0, thus disable sandboxing only for previous versions */
|
||||
if (webkit_get_major_version () < 2 || (webkit_get_major_version () == 2 && webkit_get_minor_version () < 38)) {
|
||||
/* Disable sandboxing to enable printing, until WebKitGTK is fixed:
|
||||
https://bugs.webkit.org/show_bug.cgi?id=202363 */
|
||||
g_setenv ("WEBKIT_FORCE_SANDBOX", "0", FALSE);
|
||||
}
|
||||
|
||||
/* Pre-cache list of supported locales */
|
||||
e_util_enum_supported_locales ();
|
||||
|
Loading…
Reference in New Issue
Block a user