summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorThomas Hunger <hto@arcor.de>2006-08-14 06:59:46 -0700
committerIan Osgood <iano@quirkster.com>2006-08-14 06:59:46 -0700
commitf6d4fc007fc0f4bdf8f06ab0798aadce87d468d1 (patch)
treed9b4958d46e07584c63be05af62c39cd54b98ebc /doc
parentdbd2d9689305ce5bf24aebd894551bb6b590f6e4 (diff)
Tutorial corrections.
Diffstat (limited to 'doc')
-rw-r--r--doc/tutorial/index.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/tutorial/index.html b/doc/tutorial/index.html
index 7421112..b24c4ba 100644
--- a/doc/tutorial/index.html
+++ b/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 */