[gtk+/portal-race: 113/129] testbaseline: Add a horizontal spinbutton



commit 090120d584f202f72a53d6ace33c82fc768da797
Author: Timm Bäder <mail baedert org>
Date:   Tue Jun 27 14:36:29 2017 +0200

    testbaseline: Add a horizontal spinbutton

 tests/testbaseline.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/tests/testbaseline.c b/tests/testbaseline.c
index 5c9b77f..9dd5358 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);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]