summaryrefslogtreecommitdiff
path: root/docs/tutorial
diff options
context:
space:
mode:
authorGMT 2002 Tony Gale <gale@gtk.org>2002-12-07 14:48:08 +0000
committerTony Gale <gale@src.gnome.org>2002-12-07 14:48:08 +0000
commit47ebb9739af03b8ec8e2677fd3249303838c6035 (patch)
tree183ebd212b21a4b737ddcd5732f66e27d903bd10 /docs/tutorial
parent105434ae4f4e774f40679325a55c45bd624e0a91 (diff)
downloadgtk+-47ebb9739af03b8ec8e2677fd3249303838c6035.tar.gz
minor fixes
Sat Dec 7 14:45:50 GMT 2002 Tony Gale <gale@gtk.org> * docs/tutorial/gtk-tut.sgml: minor fixes * examples/pixmap: don't use deprecated function
Diffstat (limited to 'docs/tutorial')
-rwxr-xr-xdocs/tutorial/gtk-tut.sgml18
1 files changed, 9 insertions, 9 deletions
diff --git a/docs/tutorial/gtk-tut.sgml b/docs/tutorial/gtk-tut.sgml
index 6b0fee39b2..1e5a5d2a8c 100755
--- a/docs/tutorial/gtk-tut.sgml
+++ b/docs/tutorial/gtk-tut.sgml
@@ -5,7 +5,7 @@
<book id="gtk-tut">
<bookinfo>
- <date>October 27, 2002</date>
+ <date>December 7, 2002</date>
<title>GTK+ 2.0 Tutorial</title>
<authorgroup>
<author>
@@ -34,13 +34,13 @@
<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
@@ -1307,7 +1307,7 @@ it. Compile it yourself and play with it.</para>
<title>Packing Demonstration Program</title>
<programlisting role="C">
-<!-- example-start packbox packbox.c -->
+/* example-start packbox packbox.c */
#include &lt;stdio.h&gt;
#include &lt;stdlib.h&gt;
@@ -8806,7 +8806,7 @@ static GtkItemFactoryEntry entries[] = {
{ "/File/tear1", NULL, NULL, 0, "&lt;Tearoff&gt;" },
{ "/File/_New", "&lt;CTRL&gt;N", new_file, 1, "&lt;Item&gt;" },
{ "/File/_Open...", "&lt;CTRL&gt;O", open_file, 1, "&lt;Item&gt;" },
- { "/File/sep1", NULL, NULL, 0, "&lt;Seperator&gt;" },
+ { "/File/sep1", NULL, NULL, 0, "&lt;Separator&gt;" },
{ "/File/_Quit", "&lt;CTRL&gt;Q", quit_program, 0, "&lt;Item&gt;"} };
</programlisting>
</sect3>
@@ -8927,10 +8927,10 @@ section.</para>
<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 &amp;lt;gtk/gtk.h&amp;gt;
-#include &amp;lt;strings.h&amp;gt;
+#include &lt;gtk/gtk.h&gt;
+#include &lt;strings.h&gt;
/* Obligatory basic callback */
static void print_hello( GtkWidget *w,