[gtk/keymap-rework-2: 14/34] testsuite: Stop using keymap apis
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/keymap-rework-2: 14/34] testsuite: Stop using keymap apis
- Date: Mon, 6 Apr 2020 05:43:28 +0000 (UTC)
commit 6eaadba0083f5c2a234bd6e5a34888957ed1cc5c
Author: Matthias Clasen <mclasen redhat com>
Date: Sun Apr 5 11:28:52 2020 -0400
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,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]