summaryrefslogtreecommitdiff
path: root/gtk/gtkgamma.c
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/gtkgamma.c')
-rw-r--r--gtk/gtkgamma.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/gtk/gtkgamma.c b/gtk/gtkgamma.c
index 5812ec858b..9d88de54e0 100644
--- a/gtk/gtkgamma.c
+++ b/gtk/gtkgamma.c
@@ -455,10 +455,7 @@ gtk_gamma_curve_destroy (GtkObject *object)
c = GTK_GAMMA_CURVE (object);
if (c->gamma_dialog)
- {
- gtk_widget_destroy (c->gamma_dialog);
- c->gamma_dialog = 0;
- }
+ gtk_widget_destroy (c->gamma_dialog);
if (GTK_OBJECT_CLASS (parent_class)->destroy)
(* GTK_OBJECT_CLASS (parent_class)->destroy) (object);