context: add xkb_context_sanitize_rule_names()
authorRan Benita <ran234@gmail.com>
Mon, 10 Feb 2014 11:06:22 +0000 (13:06 +0200)
committerRan Benita <ran234@gmail.com>
Mon, 10 Feb 2014 11:15:58 +0000 (13:15 +0200)
commit2ecc0f8316bdbc41f81845fc9a5f0809c38a6229
tree7b83605a5bf0d927b122286ac04561e60f1b6ab4
parentc11f05e064ea2676cfc8c644bd95c878db3a9130
context: add xkb_context_sanitize_rule_names()

We want all the default logic in a test, so encapsulate it in this
function, and make all the get_default_* functions static.

Signed-off-by: Ran Benita <ran234@gmail.com>
src/context-priv.c
src/context.h
src/keymap.c