summaryrefslogtreecommitdiff
path: root/examples
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 /examples
parent5591c434f876b7a0f3c62dec145a118671a32977 (diff)
downloadgdk-pixbuf-a9b71314ee7e770bd1f9b00c14212190f3ac1427.tar.gz
Lots of trivial doc fixes.
Diffstat (limited to 'examples')
-rw-r--r--examples/gtkdial/gtkdial.c7
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);