summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorAnders Carlsson <andersca@gnu.org>2001-10-26 23:06:43 +0000
committerAnders Carlsson <andersca@src.gnome.org>2001-10-26 23:06:43 +0000
commitdc0772a2b92d88de01f4de07e7bcf666e18c5029 (patch)
tree0b7ea3afd6bba0cde6fd660d8849f3bdf945352c /tests
parent944104f39286070ae3a870a6e64eba19b1fefab4 (diff)
downloadgtk+-dc0772a2b92d88de01f4de07e7bcf666e18c5029.tar.gz
Don't set a fixed height on the hscale widget. This fixes "bug" #55840.
2001-10-27 Anders Carlsson <andersca@gnu.org> * tests/testgtk.c (create_range_controls): Don't set a fixed height on the hscale widget. This fixes "bug" #55840.
Diffstat (limited to 'tests')
-rw-r--r--tests/testgtk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/testgtk.c b/tests/testgtk.c
index f16d5a799a..21925a88e6 100644
--- a/tests/testgtk.c
+++ b/tests/testgtk.c
@@ -6713,7 +6713,7 @@ create_range_controls (void)
adjustment = gtk_adjustment_new (0.0, 0.0, 101.0, 0.1, 1.0, 1.0);
scale = gtk_hscale_new (GTK_ADJUSTMENT (adjustment));
- gtk_widget_set_usize (GTK_WIDGET (scale), 150, 30);
+ gtk_widget_set_usize (GTK_WIDGET (scale), 150, -1);
gtk_range_set_update_policy (GTK_RANGE (scale), GTK_UPDATE_DELAYED);
gtk_scale_set_digits (GTK_SCALE (scale), 1);
gtk_scale_set_draw_value (GTK_SCALE (scale), TRUE);