testsuite: Stop using keymap apis

This commit is contained in:
Matthias Clasen 2020-04-05 11:28:52 -04:00
parent 4495bacfd1
commit 6eaadba008

View File

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