Rename private xkb_map_new to xkb_keymap_new

To be consistent with the API rename.

Signed-off-by: Ran Benita <ran234@gmail.com>
master
Ran Benita 2012-09-21 14:00:00 +03:00 committed by Daniel Stone
parent fcd202909b
commit d206ecd9e3
3 changed files with 3 additions and 3 deletions

View File

@ -54,7 +54,7 @@
#include "text.h" #include "text.h"
struct xkb_keymap * struct xkb_keymap *
xkb_map_new(struct xkb_context *ctx) xkb_keymap_new(struct xkb_context *ctx)
{ {
struct xkb_keymap *keymap; struct xkb_keymap *keymap;

View File

@ -428,6 +428,6 @@ XkbKeyActionEntry(const struct xkb_key *key, xkb_layout_index_t layout,
} }
struct xkb_keymap * struct xkb_keymap *
xkb_map_new(struct xkb_context *ctx); xkb_keymap_new(struct xkb_context *ctx);
#endif #endif

View File

@ -35,7 +35,7 @@ compile_keymap_file(struct xkb_context *ctx, XkbFile *file)
{ {
struct xkb_keymap *keymap; struct xkb_keymap *keymap;
keymap = xkb_map_new(ctx); keymap = xkb_keymap_new(ctx);
if (!keymap) if (!keymap)
goto err; goto err;