[PATCH libxkbcommon 1/3] doc: Fix ctx type in example

Daniel Stone daniel at fooishbar.org
Tue Jun 21 01:36:52 UTC 2016


Hi Bryce,
All merged, thanks!

Cheers,
Daniel

On 16 June 2016 at 10:36, Bryce Harrington <bryce at osg.samsung.com> wrote:
> xkb_context_new() returns a xkb_context pointer, so change the variable
> definition to be consistent.
>
> Signed-off-by: Bryce Harrington <bryce at osg.samsung.com>
> ---
>  doc/quick-guide.md | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/doc/quick-guide.md b/doc/quick-guide.md
> index 972d09c..a576070 100644
> --- 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>
> --
> 1.9.1
>


More information about the wayland-devel mailing list