diff options
author | Ran Benita <ran234@gmail.com> | 2012-08-06 20:04:22 +0300 |
---|---|---|
committer | Ran Benita <ran234@gmail.com> | 2012-08-07 11:09:42 +0300 |
commit | f2ecd6650aff7d8b628845c1284c7e671c01ea67 (patch) | |
tree | e3d3288d0d6d4242a860177de3dfde4b13efedfc /xkbcommon | |
parent | 18048cb7bf49468a9211e107c000ef255db2f94f (diff) |
log: allow to resore default log function
Signed-off-by: Ran Benita <ran234@gmail.com>
Diffstat (limited to 'xkbcommon')
-rw-r--r-- | xkbcommon/xkbcommon.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xkbcommon/xkbcommon.h b/xkbcommon/xkbcommon.h index 8c772ae..2b3f8e3 100644 --- a/xkbcommon/xkbcommon.h +++ b/xkbcommon/xkbcommon.h @@ -257,8 +257,8 @@ xkb_context_unref(struct xkb_context *context); */ /** - * Sets the function to be called for logging messages, instead of the - * default logger which writes to stderr. + * Sets the function to be called for logging messages. + * Passing NULL restores the default function, which logs to stderr. **/ void xkb_set_log_fn(struct xkb_context *context, |