summaryrefslogtreecommitdiff
path: root/src/atom.c
diff options
context:
space:
mode:
authorRan Benita <ran234@gmail.com>2012-05-09 11:47:20 +0300
committerDaniel Stone <daniel@fooishbar.org>2012-05-09 15:31:43 +0100
commitc117318ff11886e7aad42031c630eb4cc9a13a83 (patch)
tree6da0fcc62908c7c071fba9d77064c1b4769e904e /src/atom.c
parent4aef083e46568664708f57b5aaa356e858c1f4de (diff)
downloadxorg-lib-libxkbcommon-c117318ff11886e7aad42031c630eb4cc9a13a83.tar.gz
Make the context available to xkb_intern_atom
In preparation of contextualizing the atom table. Since we touch every function call, also rename the function to xkb_atom_intern, to match better with the rest (which will also be renamed). Signed-off-by: Ran Benita <ran234@gmail.com> [daniels: Fixed for 'xkb' -> 'keymap'.]
Diffstat (limited to 'src/atom.c')
-rw-r--r--src/atom.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/atom.c b/src/atom.c
index a65bfc6..0a49ac3 100644
--- a/src/atom.c
+++ b/src/atom.c
@@ -108,7 +108,7 @@ XkbcAtomGetString(xkb_atom_t atom)
}
xkb_atom_t
-xkb_intern_atom(const char *string)
+xkb_atom_intern(struct xkb_context *context, const char *string)
{
NodePtr *np;
NodePtr nd;