Commit 1daa41bf authored by Timm Bäder's avatar Timm Bäder 🤔 Committed by Daniel Boles

box: Make sure center_req is initialized

In case we have an invisible center widget, we never initialize it, but
later still use it.
parent d689ee7d
......@@ -830,7 +830,7 @@ gtk_box_size_allocate_with_center (GtkWidget *widget,
GtkTextDirection direction;
GtkAllocation child_allocation;
GtkRequestedSize *sizes[2];
GtkRequestedSize center_req;
GtkRequestedSize center_req = {0, 0};
gint child_minimum_baseline, child_natural_baseline;
gint minimum_above, natural_above;
gint minimum_below, natural_below;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment