Silence a compiler warning
GCC complains with boxed out arguments that may be unset.
This commit is contained in:
@ -541,7 +541,7 @@ gtk_css_gadget_margin_box_contains_point (GtkCssGadget *gadget,
|
|||||||
int x,
|
int x,
|
||||||
int y)
|
int y)
|
||||||
{
|
{
|
||||||
GtkAllocation margin_box;
|
GtkAllocation margin_box = { 0, };
|
||||||
gtk_css_gadget_get_margin_box (gadget, &margin_box);
|
gtk_css_gadget_get_margin_box (gadget, &margin_box);
|
||||||
return allocation_contains_point (&margin_box, x, y);
|
return allocation_contains_point (&margin_box, x, y);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user