summaryrefslogtreecommitdiff
path: root/docs/tutorial
diff options
context:
space:
mode:
authorMatthias Clasen <matthiasc@src.gnome.org>2002-10-11 20:36:21 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2002-10-11 20:36:21 +0000
commita9b71314ee7e770bd1f9b00c14212190f3ac1427 (patch)
tree89a453049dfe787de48e30f442c858ecc48132e3 /docs/tutorial
parent5591c434f876b7a0f3c62dec145a118671a32977 (diff)
downloadgtk+-a9b71314ee7e770bd1f9b00c14212190f3ac1427.tar.gz
Lots of trivial doc fixes.
Diffstat (limited to 'docs/tutorial')
-rwxr-xr-xdocs/tutorial/gtk-tut.sgml5
1 files changed, 4 insertions, 1 deletions
diff --git a/docs/tutorial/gtk-tut.sgml b/docs/tutorial/gtk-tut.sgml
index 53325ed438..6f76b2223b 100755
--- a/docs/tutorial/gtk-tut.sgml
+++ b/docs/tutorial/gtk-tut.sgml
@@ -15101,7 +15101,10 @@ gtk_dial_destroy (GtkObject *object)
dial = GTK_DIAL (object);
if (dial-&gt;adjustment)
- g_object_unref (GTK_OBJECT (dial-&gt;adjustment));
+ {
+ g_object_unref (GTK_OBJECT (dial-&gt;adjustment));
+ dial-&gt;adjustment = NULL;
+ }
if (GTK_OBJECT_CLASS (parent_class)-&gt;destroy)
(* GTK_OBJECT_CLASS (parent_class)-&gt;destroy) (object);