projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8b800fa
)
testspinbutton: Orient box orthogonally to Spins
author
Daniel Boles
<dboles@src.gnome.org>
Wed, 14 Mar 2018 22:37:34 +0000
(22:37 +0000)
committer
Daniel Boles
<dboles@src.gnome.org>
Wed, 14 Mar 2018 23:01:06 +0000
(23:01 +0000)
This makes better use of space.
tests/testspinbutton.c
patch
|
blob
|
history
diff --git
a/tests/testspinbutton.c
b/tests/testspinbutton.c
index 9c6aacc34a82ab0a23455ed3d651934dd58de858..b7371400c25561cdf1312ca036bc8cbc748b092b 100644
(file)
--- 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)