Tutorial corrections.
authorThomas Hunger <hto@arcor.de>
Mon, 14 Aug 2006 13:59:46 +0000 (06:59 -0700)
committerIan Osgood <iano@quirkster.com>
Mon, 14 Aug 2006 13:59:46 +0000 (06:59 -0700)
doc/tutorial/index.html

index 7421112..b24c4ba 100644 (file)
@@ -417,7 +417,7 @@ main ()
   Atom    *atoms_x;
   double   diff_x;
 
   Atom    *atoms_x;
   double   diff_x;
 
-  c = XCBConnectBasic ();
+  c = XCBConnect (NULL, NULL);
 
   count = 500;
   atoms = (XCBATOM *)malloc (count * sizeof (atoms));
 
   count = 500;
   atoms = (XCBATOM *)malloc (count * sizeof (atoms));
@@ -3460,7 +3460,7 @@ XCBConnection *c;
 XCBSCREEN     *screen;
 int            screen_nbr;
 XCBVISUALID    root_visual = { 0 };
 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 */
 
 
 /* you init the connection and screen_nbr */