forked from AuroraMiddleware/gtk
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:
parent
35e973d698
commit
3bb1423804
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user