summaryrefslogtreecommitdiff
path: root/test/filecomp.c
diff options
context:
space:
mode:
authorDaniel Stone <daniel@fooishbar.org>2010-06-21 14:22:26 +0100
committerDaniel Stone <daniel@fooishbar.org>2010-06-22 15:57:16 +0100
commit2c4a045aca7c680a0315850a0e69784ac08f96a3 (patch)
treedc38f6be5863759e3b1e692ba55ff825312cb1ae /test/filecomp.c
parent15b0db5492a2725d45011b8fef70006cc96fee0c (diff)
downloadlibxkbcommon-2c4a045aca7c680a0315850a0e69784ac08f96a3.tar.gz
libxkbcommon-2c4a045aca7c680a0315850a0e69784ac08f96a3.tar.bz2
libxkbcommon-2c4a045aca7c680a0315850a0e69784ac08f96a3.zip
Allow external atom databases
Allow people to plug in an external atom database (e.g. the X server's), so we don't have to migrate our own atoms over later. We are a bit over-keen on atoms at the moment, so it does pollute the atom database a bit though. Signed-off-by: Daniel Stone <daniel@fooishbar.org>
Diffstat (limited to 'test/filecomp.c')
-rw-r--r--test/filecomp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/filecomp.c b/test/filecomp.c
index 260c151..dc20681 100644
--- a/test/filecomp.c
+++ b/test/filecomp.c
@@ -60,7 +60,7 @@ int main(int argc, char *argv[])
}
uSetErrorFile(NULL);
- XkbcInitAtoms();
+ XkbcInitAtoms(NULL, NULL);
xkb = XkbcCompileKeymapFromFile(file, name);
fclose(file);