summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Dywan <christian@twotoasts.de>2010-03-12 21:03:35 +0100
committerChristian Dywan <christian@twotoasts.de>2010-03-12 21:03:35 +0100
commit072673c61214c935cc90450bacbca183d5936fad (patch)
treeafc885cebfec76a3f4621841e99cd029e673b4fe
parent325c86f83c8a5c273a75e9853fd802d78a9d15c7 (diff)
downloadgtk+-072673c61214c935cc90450bacbca183d5936fad.tar.gz
Reword explanation of delete-event and destroy
-rwxr-xr-xdocs/tutorial/gtk-tut.sgml8
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/tutorial/gtk-tut.sgml b/docs/tutorial/gtk-tut.sgml
index 72b5c025b7..8353c31877 100755
--- a/docs/tutorial/gtk-tut.sgml
+++ b/docs/tutorial/gtk-tut.sgml
@@ -822,11 +822,11 @@ until we call gtk_widget_show(window) near the end of our program.</para>
</programlisting>
<para>Here are two examples of connecting a signal handler to an object, in
-this case, the window. Here, the "delete_event" and "destroy" signals
+this case, the window. Here, the "delete-event" and "destroy" signals
are caught. The first is emitted when we use the window manager to
-kill the window, or when we use the gtk_widget_destroy() call passing
-in the window widget as the object to destroy. The second is emitted
-when, in the "delete_event" handler, we return FALSE.
+kill the window. The second is emitted when we use the gtk_widget_destroy() call
+passing in the window widget as the object to destroy, or when, in the
+"delete-event" handler, we return FALSE.
The <literal>G_CALLBACK</literal> is a macro
that performs type casting and checking for us, as well as aid the readability of