summaryrefslogtreecommitdiff
path: root/test/keyseq.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/keyseq.c')
-rw-r--r--test/keyseq.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/keyseq.c b/test/keyseq.c
index 2e827fc..4508ab1 100644
--- a/test/keyseq.c
+++ b/test/keyseq.c
@@ -75,7 +75,7 @@ test_key_seq(struct xkb_keymap *keymap, ...)
kc = va_arg(ap, int) + EVDEV_OFFSET;
op = va_arg(ap, int);
- nsyms = xkb_key_get_syms(state, kc, &syms);
+ nsyms = xkb_state_key_get_syms(state, kc, &syms);
fprintf(stderr, "got %d syms for key 0x%x: [", nsyms, kc);
if (op == DOWN || op == BOTH)
@@ -378,7 +378,7 @@ main(void)
KEY_V, BOTH, XKB_KEY_p, FINISH));
- xkb_map_unref(keymap);
+ xkb_keymap_unref(keymap);
xkb_context_unref(ctx);
return 0;
}