[PATCH 54/66] kconfig: gconf: replace GDK_space with GDK_KEY_space

From: Masahiro Yamada
Date: Tue Jun 24 2025 - 11:26:48 EST


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@xxxxxxxxxx>
---

scripts/kconfig/gconf.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/kconfig/gconf.c b/scripts/kconfig/gconf.c
index 6487d6a0dd9d..28953449a1ed 100644
--- a/scripts/kconfig/gconf.c
+++ b/scripts/kconfig/gconf.c
@@ -887,7 +887,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
--
2.43.0