Tutorial corrections.
[free-sw/xcb/libxcb] / doc / tutorial / index.html
index f642ebf..b24c4ba 100644 (file)
@@ -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));
@@ -543,7 +543,7 @@ main ()
       <ol>
         <li class="subtitle"><a name="inst">Installation of XCB</a>
         <p>
-        <b>TODO:<b> These instructions are out of date.
+        <b>TODO:</b> These instructions are out of date.
         Just reference the <a href="http://xcb.freedesktop.org/">main XCB page</a>
         so we don't have to maintain these instructions in more than
         one place.
@@ -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 */