Commit bb16f1a0 authored by Daniel Boles's avatar Daniel Boles

testspinbutton: Orient box orthogonally to Spins

This makes better use of space.
parent c179d5eb
...@@ -41,7 +41,7 @@ prepare_window_for_orientation (GtkOrientation orientation) ...@@ -41,7 +41,7 @@ prepare_window_for_orientation (GtkOrientation orientation)
window = gtk_window_new (GTK_WINDOW_TOPLEVEL); window = gtk_window_new (GTK_WINDOW_TOPLEVEL);
g_signal_connect (window, "delete_event", G_CALLBACK (on_delete_event), NULL); g_signal_connect (window, "delete_event", G_CALLBACK (on_delete_event), NULL);
mainbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 2); mainbox = gtk_box_new (GTK_ORIENTATION_VERTICAL ^ orientation, 2);
gtk_container_add (GTK_CONTAINER (window), mainbox); gtk_container_add (GTK_CONTAINER (window), mainbox);
for (max = 9; max <= 999999999; max = max * 10 + 9) for (max = 9; max <= 999999999; max = max * 10 + 9)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment