From: Daniel Boles Date: Wed, 14 Mar 2018 22:37:34 +0000 (+0000) Subject: testspinbutton: Orient box orthogonally to Spins X-Git-Tag: archive/raspbian/4.4.1+ds1-2+rpi1^2~18^2~22^2~985 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=55664f95abc8e06b019825a593bfc1da0c006592;p=gtk4.git testspinbutton: Orient box orthogonally to Spins This makes better use of space. --- diff --git a/tests/testspinbutton.c b/tests/testspinbutton.c index 9c6aacc34a..b7371400c2 100644 --- a/tests/testspinbutton.c +++ b/tests/testspinbutton.c @@ -39,7 +39,7 @@ prepare_window_for_orientation (GtkOrientation orientation) window = gtk_window_new (GTK_WINDOW_TOPLEVEL); g_signal_connect (window, "close-request", G_CALLBACK (on_delete), 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); for (max = 9; max <= 999999999; max = max * 10 + 9)