Document that xkb_state_get_map doesn't take a ref

Signed-off-by: Daniel Stone <daniel@fooishbar.org>
master
Daniel Stone 2012-05-09 20:52:33 +01:00
parent 7a1201bdf2
commit 471e112208
1 changed files with 3 additions and 1 deletions

View File

@ -390,7 +390,9 @@ void
xkb_state_unref(struct xkb_state *state); xkb_state_unref(struct xkb_state *state);
/** /**
* Get the keymap from which the state object was created. * Get the keymap from which the state object was created. Does not take
* a new reference on the map; you must explicitly reference it yourself
* if you plan to use it beyond the lifetime of the state.
*/ */
struct xkb_keymap * struct xkb_keymap *
xkb_state_get_map(struct xkb_state *state); xkb_state_get_map(struct xkb_state *state);