[Xcb-commit] xcb
Ian Osgood
iano at kemper.freedesktop.org
Mon Aug 14 07:01:05 PDT 2006
xcb/doc/tutorial/index.html | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
New commits:
diff-tree b0d393f644d1c2eb3eb59a664e7488813805b883 (from 0605cfaef0e4e580c2b243accac59bdfc642b94e)
Author: Thomas Hunger <hto at arcor.de>
Date: Mon Aug 14 06:59:46 2006 -0700
Tutorial corrections.
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 */
More information about the xcb-commit
mailing list