From 9c697f804a304a4d50553c710cdba5c0d7330681 Mon Sep 17 00:00:00 2001 From: Ran Benita Date: Wed, 14 Aug 2013 11:36:04 +0300 Subject: [PATCH] doc: tweak the wording on xkb_state/xkb_keymap relationship Signed-off-by: Ran Benita --- xkbcommon/xkbcommon.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/xkbcommon/xkbcommon.h b/xkbcommon/xkbcommon.h index 3c18cbb..de64dbe 100644 --- a/xkbcommon/xkbcommon.h +++ b/xkbcommon/xkbcommon.h @@ -1041,9 +1041,9 @@ xkb_keymap_key_repeats(struct xkb_keymap *keymap, xkb_keycode_t key); */ /** - * Create a new keyboard state object for a keymap. + * Create a new keyboard state object. * - * @param keymap The keymap for which to create the state. + * @param keymap The keymap which the state will use. * * @returns A new keyboard state object, or NULL on failure. * @@ -1073,10 +1073,10 @@ void xkb_state_unref(struct xkb_state *state); /** - * Get the keymap from which a keyboard state object was created. + * Get the keymap which a keyboard state object is using. * - * @returns The keymap which was used in xkb_state_new() to create this - * state object. + * @returns The keymap which was passed to xkb_state_new() when creating + * this state object. * * This function does not take a new reference on the keymap; you must * explicitly reference it yourself if you plan to use it beyond the -- 2.7.4