summaryrefslogtreecommitdiff
path: root/xkb/xkbtext.c
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2010-01-15 15:32:13 +1000
committerKeith Packard <keithp@keithp.com>2010-01-25 09:29:19 +1300
commitc8bba14a390fe3fa16027e6b2433a314b3ea00c3 (patch)
tree9892c7ac689e72e0ced447a1b0c4d36cd01afde3 /xkb/xkbtext.c
parentf37799c9712afb7769f369162b904d9ea2dbd608 (diff)
xkb: remove XkbAtomGetString, replace with NameForAtom.
XKB really XKBdoes not XKBneed its own XKBdefines for XKBeverything. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Fernando Carrijo <fcarrijo@yahoo.com.br> Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'xkb/xkbtext.c')
-rw-r--r--xkb/xkbtext.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/xkb/xkbtext.c b/xkb/xkbtext.c
index 95ad01378..324254dd3 100644
--- a/xkb/xkbtext.c
+++ b/xkb/xkbtext.c
@@ -74,7 +74,7 @@ XkbAtomText(Atom atm,unsigned format)
const char *atmstr;
char *rtrn,*tmp;
- atmstr = XkbAtomGetString(atm);
+ atmstr = NameForAtom(atm);
if (atmstr != NULL) {
int len;
len= strlen(atmstr)+1;
@@ -118,7 +118,7 @@ char numBuf[20];
if (ndx>=XkbNumVirtualMods)
tmp= "illegal";
else if (vmodNames&&(vmodNames[ndx]!=None))
- tmp= XkbAtomGetString(vmodNames[ndx]);
+ tmp= NameForAtom(vmodNames[ndx]);
if (tmp==NULL) {
sprintf(numBuf,"%d",ndx);
tmp = numBuf;