diff options
author | Matthias Clasen <matthiasc@src.gnome.org> | 2002-10-11 20:36:21 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2002-10-11 20:36:21 +0000 |
commit | a9b71314ee7e770bd1f9b00c14212190f3ac1427 (patch) | |
tree | 89a453049dfe787de48e30f442c858ecc48132e3 /examples | |
parent | 5591c434f876b7a0f3c62dec145a118671a32977 (diff) | |
download | gdk-pixbuf-a9b71314ee7e770bd1f9b00c14212190f3ac1427.tar.gz |
Lots of trivial doc fixes.
Diffstat (limited to 'examples')
-rw-r--r-- | examples/gtkdial/gtkdial.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/examples/gtkdial/gtkdial.c b/examples/gtkdial/gtkdial.c index f535081bd..2ca738edb 100644 --- a/examples/gtkdial/gtkdial.c +++ b/examples/gtkdial/gtkdial.c @@ -146,8 +146,11 @@ gtk_dial_destroy (GtkObject *object) dial = GTK_DIAL (object); - if (dial->adjustment) - g_object_unref (GTK_OBJECT (dial->adjustment)); + if (dial->adjustment) + { + g_object_unref (GTK_OBJECT (dial->adjustment)); + dial->adjustment = NULL; + } if (GTK_OBJECT_CLASS (parent_class)->destroy) (* GTK_OBJECT_CLASS (parent_class)->destroy) (object); |