forked from AuroraMiddleware/gtk
tests: Fix testfontchooser layout
Remove an extra box so that we don't need to expand the chooser.
This commit is contained in:
parent
b2f2b3f169
commit
6920fc3625
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user