summaryrefslogtreecommitdiff
path: root/src/context.h
diff options
context:
space:
mode:
authorRan Benita <ran234@gmail.com>2012-09-22 10:58:00 +0300
committerDaniel Stone <daniel@fooishbar.org>2012-09-24 09:08:54 +1000
commit0dd40125c555ccfc6b018eda8107fa1aa101c43e (patch)
tree1efe4505f75e09192a6ecd2fd664b9942c63574c /src/context.h
parentbe3cbc993eaba8f2239e237ba43df6b4de236041 (diff)
downloadxorg-lib-libxkbcommon-0dd40125c555ccfc6b018eda8107fa1aa101c43e.tar.gz
API: add _context prefix to log-related functions
This is to follow the general scheme set by all of the other API functions. Since no one is using these functions yet, we don't (actually better not) add the old names to xkbcommon-compat.h. Signed-off-by: Ran Benita <ran234@gmail.com>
Diffstat (limited to 'src/context.h')
-rw-r--r--src/context.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/context.h b/src/context.h
index 1a87815..fb3150a 100644
--- a/src/context.h
+++ b/src/context.h
@@ -68,12 +68,12 @@ xkb_log(struct xkb_context *ctx, enum xkb_log_level level,
const char *fmt, ...);
#define xkb_log_cond_level(ctx, level, ...) do { \
- if (xkb_get_log_level(ctx) >= (level)) \
+ if (xkb_context_get_log_level(ctx) >= (level)) \
xkb_log((ctx), (level), __VA_ARGS__); \
} while (0)
#define xkb_log_cond_verbosity(ctx, level, vrb, ...) do { \
- if (xkb_get_log_verbosity(ctx) >= (vrb)) \
+ if (xkb_context_get_log_verbosity(ctx) >= (vrb)) \
xkb_log_cond_level((ctx), (level), __VA_ARGS__); \
} while (0)