summaryrefslogtreecommitdiff
path: root/test/keyseq.c
diff options
context:
space:
mode:
authorRan Benita <ran234@gmail.com>2012-09-21 14:44:17 +0300
committerDaniel Stone <daniel@fooishbar.org>2012-09-24 09:08:53 +1000
commitfcd202909bd558074885c8a35400e180646e115b (patch)
tree8e1f203c01fa0854f3c859668bda52a4f792dc4f /test/keyseq.c
parentbf19408078824f96d2c265ad15e4ff12505166cc (diff)
downloadxorg-lib-libxkbcommon-fcd202909bd558074885c8a35400e180646e115b.tar.gz
Don't use xkbcommon-compat names in internal code
Signed-off-by: Ran Benita <ran234@gmail.com>
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;
}