Silence a compiler warning

GCC complains with boxed out arguments that may be unset.
This commit is contained in:
Emmanuele Bassi
2020-03-13 16:05:13 +00:00
parent db1be15699
commit b4808c187f

View File

@ -541,7 +541,7 @@ gtk_css_gadget_margin_box_contains_point (GtkCssGadget *gadget,
int x,
int y)
{
GtkAllocation margin_box;
GtkAllocation margin_box = { 0, };
gtk_css_gadget_get_margin_box (gadget, &margin_box);
return allocation_contains_point (&margin_box, x, y);
}