diff options
author | Ran Benita <ran234@gmail.com> | 2014-04-22 11:33:47 +0300 |
---|---|---|
committer | Ran Benita <ran234@gmail.com> | 2014-04-22 14:56:01 +0300 |
commit | 0f6bca2b37cb67e9a76acd1c3117e19fb0a115df (patch) | |
tree | fb95f4b60d33ef16431b90d698e0150808506994 /src/keymap.c | |
parent | 9b1a68eca92cf964bbfbbe5bf9ee9c5ef2496c8f (diff) | |
download | libxkbcommon-0f6bca2b37cb67e9a76acd1c3117e19fb0a115df.tar.gz libxkbcommon-0f6bca2b37cb67e9a76acd1c3117e19fb0a115df.tar.bz2 libxkbcommon-0f6bca2b37cb67e9a76acd1c3117e19fb0a115df.zip |
keymap: rename xkb_foreach_key to xkb_keys_foreach
We'll use the format xkb_foos_foreach and xkb_foos_enumerate for the
various iterators.
Signed-off-by: Ran Benita <ran234@gmail.com>
Diffstat (limited to 'src/keymap.c')
-rw-r--r-- | src/keymap.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/keymap.c b/src/keymap.c index 678bd01..dc2541c 100644 --- a/src/keymap.c +++ b/src/keymap.c @@ -68,7 +68,7 @@ xkb_keymap_unref(struct xkb_keymap *keymap) if (keymap->keys) { struct xkb_key *key; - xkb_foreach_key(key, keymap) { + xkb_keys_foreach(key, keymap) { if (key->groups) { for (unsigned i = 0; i < key->num_groups; i++) { if (key->groups[i].levels) { @@ -469,7 +469,7 @@ xkb_keymap_key_for_each(struct xkb_keymap *keymap, xkb_keymap_key_iter_t iter, { struct xkb_key *key; - xkb_foreach_key(key, keymap) + xkb_keys_foreach(key, keymap) iter(keymap, key->keycode, data); } |