tests: Fix testfontchooser layout

Remove an extra box so that we don't need to expand the chooser.
This commit is contained in:
Alexander Mikhaylenko 2020-05-11 04:52:04 +05:00
parent b2f2b3f169
commit 6920fc3625

View File

@ -69,7 +69,6 @@ int
main (int argc, char *argv[])
{
GtkWidget *window;
GtkWidget *box;
GtkWidget *fontchooser;
gboolean done = FALSE;
@ -79,9 +78,7 @@ main (int argc, char *argv[])
window = gtk_window_new ();
gtk_widget_set_size_request (window, 600, 600);
box = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 6);
gtk_window_set_child (GTK_WINDOW (window), box);
gtk_container_add (GTK_CONTAINER (box), fontchooser);
gtk_window_set_child (GTK_WINDOW (window), fontchooser);
gtk_widget_show (window);