From 6eaadba0083f5c2a234bd6e5a34888957ed1cc5c Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Sun, 5 Apr 2020 11:28:52 -0400 Subject: [PATCH] testsuite: Stop using keymap apis --- testsuite/gtk/shortcuts.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/testsuite/gtk/shortcuts.c b/testsuite/gtk/shortcuts.c index 174d3aba87..5e084b61da 100644 --- a/testsuite/gtk/shortcuts.c +++ b/testsuite/gtk/shortcuts.c @@ -366,8 +366,7 @@ test_trigger_trigger (void) GdkKeymapKey *keys; int n_keys; - if (!gdk_keymap_get_entries_for_keyval (gdk_display_get_keymap (display), - tests[i].keyval, &keys, &n_keys)) + if (!gdk_display_map_keyval (display, tests[i].keyval, &keys, &n_keys)) continue; event = gdk_event_key_new (GDK_KEY_PRESS,