diff options
author | Ran Benita <ran234@gmail.com> | 2012-09-21 14:44:17 +0300 |
---|---|---|
committer | Daniel Stone <daniel@fooishbar.org> | 2012-09-24 09:08:53 +1000 |
commit | fcd202909bd558074885c8a35400e180646e115b (patch) | |
tree | 8e1f203c01fa0854f3c859668bda52a4f792dc4f /test/stringcomp.c | |
parent | bf19408078824f96d2c265ad15e4ff12505166cc (diff) |
Don't use xkbcommon-compat names in internal code
Signed-off-by: Ran Benita <ran234@gmail.com>
Diffstat (limited to 'test/stringcomp.c')
-rw-r--r-- | test/stringcomp.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/test/stringcomp.c b/test/stringcomp.c index 402b9a6..e00e92f 100644 --- a/test/stringcomp.c +++ b/test/stringcomp.c @@ -25,7 +25,6 @@ #include <stdio.h> #include <stdlib.h> -#include "xkbcommon/xkbcommon.h" #include "test.h" #define DATA_PATH "keymaps/stringcomp.data" @@ -48,7 +47,7 @@ main(int argc, char *argv[]) keymap = test_compile_string(ctx, original); assert(keymap); - dump = xkb_map_get_as_string(keymap); + dump = xkb_keymap_get_as_string(keymap); assert(dump); if (!streq(original, dump)) { @@ -66,7 +65,7 @@ main(int argc, char *argv[]) free(original); free(dump); - xkb_map_unref(keymap); + xkb_keymap_unref(keymap); /* Make sure we can't (falsely claim to) compile an empty string. */ keymap = test_compile_string(ctx, ""); |