[gtk/gtk-3-22] testspinbutton: Orient box orthogonally to Spins
- From: Daniel Boles <dboles src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/gtk-3-22] testspinbutton: Orient box orthogonally to Spins
- Date: Wed, 14 Mar 2018 23:13:32 +0000 (UTC)
commit bb16f1a0ffac77cc5fde855898a3f930f38044b1
Author: Daniel Boles <dboles src gnome org>
Date: Wed Mar 14 22:37:34 2018 +0000
testspinbutton: Orient box orthogonally to Spins
This makes better use of space.
tests/testspinbutton.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/tests/testspinbutton.c b/tests/testspinbutton.c
index 9f8ada41fb..96cf8cfdf9 100644
--- a/tests/testspinbutton.c
+++ b/tests/testspinbutton.c
@@ -41,7 +41,7 @@ prepare_window_for_orientation (GtkOrientation orientation)
window = gtk_window_new (GTK_WINDOW_TOPLEVEL);
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);
for (max = 9; max <= 999999999; max = max * 10 + 9)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]