summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimm Bäder <mail@baedert.org>2017-06-27 14:36:29 +0200
committerTimm Bäder <mail@baedert.org>2017-06-28 13:21:00 +0200
commit090120d584f202f72a53d6ace33c82fc768da797 (patch)
treefd02acd077d561fb90e73ef9854c56fecc97b775
parent8ff6518e0806bab958ee98a270caa1f177c9c8a5 (diff)
downloadgtk+-090120d584f202f72a53d6ace33c82fc768da797.tar.gz
testbaseline: Add a horizontal spinbutton
-rw-r--r--tests/testbaseline.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/testbaseline.c b/tests/testbaseline.c
index 5c9b77f5c6..9dd5358fc8 100644
--- a/tests/testbaseline.c
+++ b/tests/testbaseline.c
@@ -133,6 +133,10 @@ main (int argc,
gtk_orientable_set_orientation (GTK_ORIENTABLE (spin), GTK_ORIENTATION_VERTICAL);
gtk_widget_set_valign (spin, aligns[j]);
gtk_container_add (GTK_CONTAINER (hbox), spin);
+
+ spin = gtk_spin_button_new (NULL, 0, 1);
+ gtk_widget_set_valign (spin, aligns[j]);
+ gtk_container_add (GTK_CONTAINER (hbox), spin);
}
grid_hbox = hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 10);