gnome-shell/0001-environment-Drop-Meta.Backend.set_keymap_layout_grou.patch
Jonas Ådahl 3f21ead5da Adapt to keyboard layout API changes
Resolves: RHEL-106779
2026-05-21 21:30:03 +02:00

31 lines
1.1 KiB
Diff

From 0aa8ffb402fab4b0841540f271ab0401b1185907 Mon Sep 17 00:00:00 2001
From: Carlos Garnacho <carlosg@gnome.org>
Date: Thu, 5 Feb 2026 22:56:47 +0100
Subject: [PATCH] environment: Drop Meta.Backend.set_keymap_layout_group_async
promisify
This method was removed in mutter, its async promisification is not
necessary anymore.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/4068>
(cherry picked from commit ae7917c904dd9d80982e6e353b4bddc7420a4a98)
---
js/ui/environment.js | 1 -
1 file changed, 1 deletion(-)
diff --git a/js/ui/environment.js b/js/ui/environment.js
index f2dc69eef7..3c9d117f17 100644
--- a/js/ui/environment.js
+++ b/js/ui/environment.js
@@ -33,7 +33,6 @@ Gio._promisify(Gio.File.prototype, 'query_info_async');
Gio._promisify(Polkit.Permission, 'new');
Gio._promisify(Shell.App.prototype, 'activate_action');
Gio._promisify(Meta.Backend.prototype, 'set_keymap_async');
-Gio._promisify(Meta.Backend.prototype, 'set_keymap_layout_group_async');
// We can't import shell JS modules yet, because they may have
// variable initializations, etc, that depend on this file's
--
2.54.0