summaryrefslogtreecommitdiff
path: root/tests/testbox.c
diff options
context:
space:
mode:
authorTimm Bäder <mail@baedert.org>2017-01-19 10:02:04 +0100
committerTimm Bäder <mail@baedert.org>2017-01-20 21:37:04 +0100
commitea897c6df44c37f573b7ed8e81ad87a9fd5b1009 (patch)
tree02726659b57530b21a5e1f8625ddd6f381bb8824 /tests/testbox.c
parent13b001b77ca3907b4ff1246208755478421a7b32 (diff)
downloadgtk+-ea897c6df44c37f573b7ed8e81ad87a9fd5b1009.tar.gz
Remove gtk_widget_show_all
Diffstat (limited to 'tests/testbox.c')
-rw-r--r--tests/testbox.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/testbox.c b/tests/testbox.c
index 1215d9c793..0a1b391bb7 100644
--- a/tests/testbox.c
+++ b/tests/testbox.c
@@ -93,8 +93,6 @@ edit_widget (GtkWidget *button)
gtk_grid_attach (GTK_GRID (grid), label, 0, 3, 1, 1);
gtk_grid_attach (GTK_GRID (grid), check, 1, 3, 1, 1);
- gtk_widget_show_all (grid);
-
g_object_set_data (G_OBJECT (button), "dialog", dialog);
}
@@ -174,7 +172,7 @@ main (int argc, char *argv[])
gtk_box_pack_start (GTK_BOX (b), spin, FALSE, TRUE);
gtk_container_add (GTK_CONTAINER (vbox), b);
- gtk_widget_show_all (window);
+ gtk_widget_show (window);
gtk_main ();