summaryrefslogtreecommitdiff
path: root/tests/testswitch.c
diff options
context:
space:
mode:
authorTimm Bäder <mail@baedert.org>2017-12-02 11:27:02 +0100
committerTimm Bäder <mail@baedert.org>2017-12-04 12:24:27 +0100
commit78832732c44d5d344a0a54f5e929ee68ea7ef4f7 (patch)
treec1f4b74832cb419c1810c903f3be9d2a9a895512 /tests/testswitch.c
parent3a3783dfcde9f64155b44f2cfb1e5adbab1a0f80 (diff)
downloadgtk+-78832732c44d5d344a0a54f5e929ee68ea7ef4f7.tar.gz
testswitch: Remove unnecessary gtk_widget_show calls
Diffstat (limited to 'tests/testswitch.c')
-rw-r--r--tests/testswitch.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/tests/testswitch.c b/tests/testswitch.c
index 4c80d36c67..0b7a13283f 100644
--- a/tests/testswitch.c
+++ b/tests/testswitch.c
@@ -162,27 +162,21 @@ int main (int argc, char *argv[])
vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 12);
gtk_container_add (GTK_CONTAINER (window), vbox);
- gtk_widget_show (vbox);
hbox = make_switch (FALSE, TRUE);
gtk_container_add (GTK_CONTAINER (vbox), hbox);
- gtk_widget_show (hbox);
hbox = make_switch (TRUE, TRUE);
gtk_container_add (GTK_CONTAINER (vbox), hbox);
- gtk_widget_show (hbox);
hbox = make_switch (FALSE, FALSE);
gtk_container_add (GTK_CONTAINER (vbox), hbox);
- gtk_widget_show (hbox);
hbox = make_switch (TRUE, FALSE);
gtk_container_add (GTK_CONTAINER (vbox), hbox);
- gtk_widget_show (hbox);
hbox = make_delayed_switch (FALSE, TRUE);
gtk_container_add (GTK_CONTAINER (vbox), hbox);
- gtk_widget_show (hbox);
gtk_main ();