[Xcb] typo in doc, replaced deprecated function XCBConnectBasic in doc

Ian Osgood iano at quirkster.com
Mon Aug 14 07:03:40 PDT 2006


Committed.  Thanks for the corrections!

Ian

P.S. We could detect these kind of errors automatically if the source  
was split out from the tutorial so it could be compiled.

On Aug 14, 2006, at 2:06 AM, Thomas Hunger wrote:

> ---
>  xcb/doc/tutorial/index.html |    4 ++--
>  1 files changed, 2 insertions(+), 2 deletions(-)
> diff --git a/xcb/doc/tutorial/index.html b/xcb/doc/tutorial/index.html
> index 7421112..b24c4ba 100644
> --- a/xcb/doc/tutorial/index.html
> +++ b/xcb/doc/tutorial/index.html
> @@ -417,7 +417,7 @@ main ()
>    Atom    *atoms_x;
>    double   diff_x;
>
> -  c = XCBConnectBasic ();
> +  c = XCBConnect (NULL, NULL);
>
>    count = 500;
>    atoms = (XCBATOM *)malloc (count * sizeof (atoms));
> @@ -3460,7 +3460,7 @@ XCBConnection *c;
>  XCBSCREEN     *screen;
>  int            screen_nbr;
>  XCBVISUALID    root_visual = { 0 };
> -XCBVISUATYPE  *visual_type = NULL;    /* the returned visual type */
> +XCBVISUALTYPE  *visual_type = NULL;    /* the returned visual type */
>
>  /* you init the connection and screen_nbr */
>
> _______________________________________________
> Xcb mailing list
> Xcb at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/xcb

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freedesktop.org/archives/xcb/attachments/20060814/fb3675de/attachment.html


More information about the Xcb mailing list