summaryrefslogtreecommitdiff
path: root/tests/testlist.c
diff options
context:
space:
mode:
authorAlexander Mikhaylenko <alexm@gnome.org>2020-05-11 19:57:25 +0500
committerAlexander Mikhaylenko <alexm@gnome.org>2020-05-11 20:15:57 +0500
commit228b3fc622980ced8a30d7d5c5b7ad36b18e2fb9 (patch)
treeb2e2659f8a04794fdc88a106e1bb4d5fbb5efd73 /tests/testlist.c
parentea9cea9be7bbba00cc9120cc32350be0ed94087a (diff)
downloadgtk+-228b3fc622980ced8a30d7d5c5b7ad36b18e2fb9.tar.gz
tests: Stop explicitly showing widgets
Diffstat (limited to 'tests/testlist.c')
-rw-r--r--tests/testlist.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/tests/testlist.c b/tests/testlist.c
index c382097a11..497122844f 100644
--- a/tests/testlist.c
+++ b/tests/testlist.c
@@ -52,7 +52,6 @@ row_new (const gchar* text, gint sort_id) {
{
row->label = gtk_label_new (text);
gtk_list_box_row_set_child (GTK_LIST_BOX_ROW (row), row->label);
- gtk_widget_show (row->label);
}
row->sort_id = sort_id;
@@ -78,8 +77,6 @@ update_header_cb (Row *row, Row *before, gpointer data)
gtk_container_add (GTK_CONTAINER (hbox), l);
b = gtk_button_new_with_label ("button");
gtk_container_add (GTK_CONTAINER (hbox), b);
- gtk_widget_show (l);
- gtk_widget_show (b);
gtk_list_box_row_set_header (GTK_LIST_BOX_ROW (row), hbox);
}