tests: Remove spurious gtk_container_add()

Commit bd71e744d2 removed
gtk_box_pack_end(), but it added a gtk_container_add() with an
uninitialised widget, and the compiler is very unhappy about it.
This commit is contained in:
Emmanuele Bassi 2019-02-04 10:02:15 +01:00
parent 35e973d698
commit 3bb1423804

View File

@ -4182,7 +4182,6 @@ create_pages (GtkNotebook *notebook, gint start, gint end)
hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0);
gtk_box_set_homogeneous (GTK_BOX (hbox), TRUE);
gtk_container_add (GTK_CONTAINER (vbox), hbox);
gtk_container_add (GTK_CONTAINER (vbox), button);
button = gtk_check_button_new_with_label ("Fill Tab");
gtk_container_add (GTK_CONTAINER (hbox), button);