projects
/
platform
/
upstream
/
libxkbcommon.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
07be44a
)
doc: Fix ctx type in example
author
Bryce Harrington
<bryce@osg.samsung.com>
Thu, 16 Jun 2016 00:36:16 +0000
(17:36 -0700)
committer
Daniel Stone
<daniels@collabora.com>
Tue, 21 Jun 2016 01:35:21 +0000
(11:35 +1000)
xkb_context_new() returns a xkb_context pointer, so change the variable
definition to be consistent.
Signed-off-by: Bryce Harrington <bryce@osg.samsung.com>
doc/quick-guide.md
patch
|
blob
|
history
diff --git
a/doc/quick-guide.md
b/doc/quick-guide.md
index
972d09c
..
a576070
100644
(file)
--- a/
doc/quick-guide.md
+++ b/
doc/quick-guide.md
@@
-32,7
+32,7
@@
Before we can do anything interesting, we need a library context:
~~~{.c}
#include <xkbcommon/xkbcommon.h>
- struct xkb_context ctx;
+ struct xkb_context
*
ctx;
ctx = xkb_context_new(XKB_CONTEXT_NO_FLAGS);
if (!ctx) <error>