]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
kconfig: gconf: replace GDK_space with GDK_KEY_space
authorMasahiro Yamada <masahiroy@kernel.org>
Tue, 24 Jun 2025 15:05:42 +0000 (00:05 +0900)
committerMasahiro Yamada <masahiroy@kernel.org>
Wed, 2 Jul 2025 02:11:52 +0000 (11:11 +0900)
In GTK3, keysyms changed to have a KEY_ prefix.

[1]: https://gitlab.gnome.org/GNOME/gtk/-/blob/2.24.33/gdk/gdkkeysyms-compat.h#L24

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
scripts/kconfig/gconf.c

index 6afdba85158acb0d5821192e2004ff179bdf375e..b24d029720905b040fd4d61ea94e7e63c9da9122 100644 (file)
@@ -841,7 +841,7 @@ static gboolean on_treeview2_key_press_event(GtkWidget *widget,
        if (path == NULL)
                return FALSE;
 
-       if (event->keyval == GDK_space) {
+       if (event->keyval == GDK_KEY_space) {
                if (gtk_tree_view_row_expanded(view, path))
                        gtk_tree_view_collapse_row(view, path);
                else