<book id="gtk-tut">
<bookinfo>
- <date>October 27, 2002</date>
+ <date>December 7, 2002</date>
<title>GTK+ 2.0 Tutorial</title>
<authorgroup>
<author>
<para>A copy of this tutorial in SGML and HTML is distributed with each
source code release of GTK+. For binary distributions, please check with
-you vendor.</para>
+your vendor.</para>
<para>A copy is available online for reference at <ulink
-url="http://www.gtk.org/tutorial">http://www.gtk.org/tutorial</ulink>.</para>
+url="http://www.gtk.org/tutorial/">http://www.gtk.org/tutorial</ulink>.</para>
<para>A packaged verion of this tutorial is available from
-<ulink url="ftp://ftp.gtk.org/pub/gtk/tutorial">
+<ulink url="ftp://ftp.gtk.org/pub/gtk/tutorial/">
ftp://ftp.gtk.org/pub/gtk/tutorial</ulink> which contains the tutorial in
various different formats. This
package is primary for those people wanting to have the tutorial
<title>Packing Demonstration Program</title>
<programlisting role="C">
-<!-- example-start packbox packbox.c -->
+/* example-start packbox packbox.c */
#include <stdio.h>
#include <stdlib.h>
{ "/File/tear1", NULL, NULL, 0, "<Tearoff>" },
{ "/File/_New", "<CTRL>N", new_file, 1, "<Item>" },
{ "/File/_Open...", "<CTRL>O", open_file, 1, "<Item>" },
- { "/File/sep1", NULL, NULL, 0, "<Seperator>" },
+ { "/File/sep1", NULL, NULL, 0, "<Separator>" },
{ "/File/_Quit", "<CTRL>Q", quit_program, 0, "<Item>"} };
</programlisting>
</sect3>
<para>Here is an example using the GTK item factory.</para>
<programlisting role="C">
-/* example-start menu itemfactory.c */
+<!-- example-start menu itemfactory.c -->
-#include &lt;gtk/gtk.h&gt;
-#include &lt;strings.h&gt;
+#include <gtk/gtk.h>
+#include <strings.h>
/* Obligatory basic callback */
static void print_hello( GtkWidget *w,