summaryrefslogtreecommitdiff
path: root/tests/testcombo.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/testcombo.c')
-rw-r--r--tests/testcombo.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/testcombo.c b/tests/testcombo.c
index 6cfb010bec..063a66ba56 100644
--- a/tests/testcombo.c
+++ b/tests/testcombo.c
@@ -1103,7 +1103,6 @@ main (int argc, char **argv)
gtk_combo_box_set_active (GTK_COMBO_BOX (combobox), 0);
tmp = gtk_cell_view_new ();
- gtk_widget_show (tmp);
gtk_cell_view_set_model (GTK_CELL_VIEW (tmp), model);
renderer = gtk_cell_renderer_text_new ();
@@ -1298,7 +1297,7 @@ main (int argc, char **argv)
gtk_combo_box_set_active (GTK_COMBO_BOX (combobox), 53);
gtk_frame_set_child (GTK_FRAME (tmp), combobox);
- gtk_widget_show (window);
+ gtk_window_present (GTK_WINDOW (window));
while (!done)
g_main_context_iteration (NULL, TRUE);