diff options
Diffstat (limited to 'tests/testglarea.c')
-rw-r--r-- | tests/testglarea.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/testglarea.c b/tests/testglarea.c index 3fa0bcbf37..7ef8022222 100644 --- a/tests/testglarea.c +++ b/tests/testglarea.c @@ -442,7 +442,7 @@ main (int argc, char *argv[]) button = gtk_button_new_with_label ("Quit"); gtk_widget_set_hexpand (button, TRUE); gtk_container_add (GTK_CONTAINER (box), button); - g_signal_connect_swapped (button, "clicked", G_CALLBACK (gtk_widget_destroy), window); + g_signal_connect_swapped (button, "clicked", G_CALLBACK (gtk_window_destroy), window); gtk_widget_show (window); |