diff --git a/demos/gtk-demo/colorsel.c b/demos/gtk-demo/colorsel.c index 566af21e52..73a9505ac6 100644 --- a/demos/gtk-demo/colorsel.c +++ b/demos/gtk-demo/colorsel.c @@ -42,7 +42,7 @@ response_cb (GtkDialog *dialog, gtk_widget_override_background_color (da, 0, &color); } - gtk_widget_hide (GTK_WIDGET (dialog)); + gtk_widget_destroy (GTK_WIDGET (dialog)); } static void