test: Set default values to be "up"

Rather than some random orientation.
This commit is contained in:
Bastien Nocera
2016-11-30 16:44:02 +01:00
parent ecf440ca9c
commit 999e91d27c

View File

@@ -35,6 +35,11 @@ int main (int argc, char **argv)
scale_y = gtk_spin_button_new_with_range (-ONEG, ONEG, 1);
scale_z = gtk_spin_button_new_with_range (-ONEG, ONEG, 1);
/* Set default values to "up" orientation */
gtk_spin_button_set_value (GTK_SPIN_BUTTON (scale_x), 0.0);
gtk_spin_button_set_value (GTK_SPIN_BUTTON (scale_y), ONEG);
gtk_spin_button_set_value (GTK_SPIN_BUTTON (scale_z), 0.0);
box = gtk_box_new (GTK_ORIENTATION_VERTICAL, 10);
gtk_container_add (GTK_CONTAINER (window), box);