diff options
author | Ran Benita <ran234@gmail.com> | 2012-05-09 15:03:11 +0300 |
---|---|---|
committer | Daniel Stone <daniel@fooishbar.org> | 2012-05-09 17:52:26 +0100 |
commit | e7bb1e5fd99438b69bb7ce8c29de381d55c95b96 (patch) | |
tree | 62628e25b97ef542154fd00590dc1509b5d8248f /test/context.c | |
parent | 699a0b841c26020815cf276980ad5ccaded7494a (diff) | |
download | xorg-lib-libxkbcommon-e7bb1e5fd99438b69bb7ce8c29de381d55c95b96.tar.gz |
Shorten context to ctx
(This breaks the API.)
"context" is really annoying to type all the time (and we're going to
type it a lot more :). "ctx" is clear, concise and common in many other
libraries. Use it!
Signed-off-by: Ran Benita <ran234@gmail.com>
[daniels: Fix for xkb -> keymap change.]
Diffstat (limited to 'test/context.c')
-rw-r--r-- | test/context.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/context.c b/test/context.c index 016c5ea..77060ad 100644 --- a/test/context.c +++ b/test/context.c @@ -30,13 +30,13 @@ int main(void) { - struct xkb_context *context = xkb_context_new(0); + struct xkb_ctx *ctx = xkb_ctx_new(0); - assert(context); + assert(ctx); /* FIXME: Test include path stuff. */ - xkb_context_unref(context); + xkb_ctx_unref(ctx); return 0; } |