summaryrefslogtreecommitdiff
path: root/tests/testscrolledge.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/testscrolledge.c
parent13b001b77ca3907b4ff1246208755478421a7b32 (diff)
downloadgtk+-ea897c6df44c37f573b7ed8e81ad87a9fd5b1009.tar.gz
Remove gtk_widget_show_all
Diffstat (limited to 'tests/testscrolledge.c')
-rw-r--r--tests/testscrolledge.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/testscrolledge.c b/tests/testscrolledge.c
index b1e04dcc8b..a55939831a 100644
--- a/tests/testscrolledge.c
+++ b/tests/testscrolledge.c
@@ -43,7 +43,6 @@ populate_list (GtkListBox *list)
g_object_set (label, "margin", 10, NULL);
gtk_widget_set_halign (label, GTK_ALIGN_START);
gtk_container_add (GTK_CONTAINER (row), label);
- gtk_widget_show_all (row);
gtk_container_add (GTK_CONTAINER (list), row);
}
}
@@ -130,7 +129,7 @@ main (int argc, char *argv[])
g_signal_connect (sw, "edge-overshot", G_CALLBACK (edge_overshot), list);
g_signal_connect (sw, "edge-reached", G_CALLBACK (edge_reached), list);
- gtk_widget_show_all (win);
+ gtk_widget_show (win);
gtk_main ();