summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimm Bäder <mail@baedert.org>2019-08-09 10:33:43 +0200
committerTimm Bäder <mail@baedert.org>2019-08-09 14:30:01 +0200
commit05cdce2e8dbb7eb677995f3231802893be87d21f (patch)
tree8c45f7c7dfe3a6d7acb7ae7eb11253cf161ab978
parent509b781079e2a6d1d07ed028c225200b004db0eb (diff)
downloadgtk+-05cdce2e8dbb7eb677995f3231802893be87d21f.tar.gz
scale: Fix an uninitialized value
-rw-r--r--gtk/gtkscale.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk/gtkscale.c b/gtk/gtkscale.c
index 887af19200..9627d278f5 100644
--- a/gtk/gtkscale.c
+++ b/gtk/gtkscale.c
@@ -597,6 +597,7 @@ gtk_scale_size_allocate (GtkWidget *widget,
marks_rect.x = 0;
marks_rect.y = 0;
marks_rect.width = marks_width;
+ marks_rect.height = range_rect.height;
gtk_widget_size_allocate (priv->top_marks_widget, &marks_rect, -1);
}