diff --git a/demos/gtk-demo/assistant.c b/demos/gtk-demo/assistant.c index 232d345c07..059d88d5bc 100644 --- a/demos/gtk-demo/assistant.c +++ b/demos/gtk-demo/assistant.c @@ -29,6 +29,7 @@ apply_changes_gradually (gpointer data) { /* Close automatically once changes are fully applied. */ gtk_widget_destroy (assistant); + assistant = NULL; return FALSE; } }