diff --git a/demos/gtk-demo/assistant.c b/demos/gtk-demo/assistant.c index cf4eee6609..b1c285f0e8 100644 --- a/demos/gtk-demo/assistant.c +++ b/demos/gtk-demo/assistant.c @@ -179,7 +179,7 @@ do_assistant (GtkWidget *do_widget) gtk_window_set_display (GTK_WINDOW (assistant), gtk_widget_get_display (do_widget)); g_signal_connect (assistant, "destroy", - G_CALLBACK (gtk_widget_destroyed), &window); + G_CALLBACK (gtk_widget_destroyed), &assistant); create_page1 (assistant); create_page2 (assistant);