mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Update to Chromium version 135.0.7049.0 (#1427262)
This commit is contained in:
13
patch/patches/gtk_compat_6334084.patch
Normal file
13
patch/patches/gtk_compat_6334084.patch
Normal file
@@ -0,0 +1,13 @@
|
||||
diff --git ui/gtk/gtk_compat.cc ui/gtk/gtk_compat.cc
|
||||
index d93d9b94c7ba4..905583f1aa7ce 100644
|
||||
--- ui/gtk/gtk_compat.cc
|
||||
+++ ui/gtk/gtk_compat.cc
|
||||
@@ -127,7 +127,7 @@ bool LoadGtkImpl() {
|
||||
}
|
||||
auto env = base::Environment::Create();
|
||||
const auto desktop = base::nix::GetDesktopEnvironment(env.get());
|
||||
- if (desktop == base::nix::DESKTOP_ENVIRONMENT_GNOME) {
|
||||
+ if (!gtk_version && desktop == base::nix::DESKTOP_ENVIRONMENT_GNOME) {
|
||||
// GNOME is currently the only desktop to support GTK4 starting with version
|
||||
// 42+. Try to match the loaded GTK version with the GNOME GTK version.
|
||||
// Checking the GNOME version is not necessary since GTK4 is available iff
|
Reference in New Issue
Block a user