diff --git a/gtk/gtkassistant.c b/gtk/gtkassistant.c index 91270b9cd3..b1d400d1c1 100644 --- a/gtk/gtkassistant.c +++ b/gtk/gtkassistant.c @@ -1134,7 +1134,6 @@ assistant_remove_page_cb (GtkContainer *container, return; page_info = element->data; -g_print ("remove page cb: %s\n", page_info->title); /* If this is the current page, we need to switch away. */ if (page_info == priv->current_page) diff --git a/tests/testassistant.c b/tests/testassistant.c index bfce39921a..fec7f69c82 100644 --- a/tests/testassistant.c +++ b/tests/testassistant.c @@ -607,7 +607,7 @@ flip_pages (GtkButton *button, GtkAssistant *assistant) gtk_assistant_remove_page (assistant, 1); gtk_assistant_insert_page (assistant, page, 2); - gtk_widget_show (page); + gtk_widget_show_all (page); gtk_assistant_set_page_title (GTK_ASSISTANT (assistant), page, title); gtk_assistant_set_page_complete (GTK_ASSISTANT (assistant), page, TRUE); @@ -650,8 +650,13 @@ create_page_flipping_assistant (GtkWidget *widget) gtk_assistant_set_page_title (GTK_ASSISTANT (assistant), page, "Page 1"); gtk_assistant_set_page_complete (GTK_ASSISTANT (assistant), page, TRUE); - page = get_test_page ("Page 2"); - gtk_widget_show (page); + page = gtk_box_new (GTK_ORIENTATION_VERTICAL, 0); + gtk_box_pack_start (GTK_BOX (page), + get_test_page ("Page 2"), + TRUE, + TRUE, + 0); + gtk_widget_show_all (page); gtk_assistant_append_page (GTK_ASSISTANT (assistant), page); gtk_assistant_set_page_title (GTK_ASSISTANT (assistant), page, "Page 2"); gtk_assistant_set_page_complete (GTK_ASSISTANT (assistant), page, TRUE);