forked from AuroraMiddleware/gtk
gtk-demo: Fix a crash
Using the assistant demo repeatedly was crashing.
This commit is contained in:
parent
b636df7784
commit
33928a52c3
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user