spinner: Set clip

This commit is contained in:
Timm Bäder 2017-05-04 16:09:13 +02:00 committed by Matthias Clasen
parent c6cc314905
commit 82a4bcf824

View File

@ -103,9 +103,7 @@ static void
gtk_spinner_size_allocate (GtkWidget *widget,
GtkAllocation *allocation)
{
GtkAllocation clip;
gtk_widget_set_allocation (widget, allocation);
GtkAllocation clip = *allocation;
gtk_css_gadget_allocate (GTK_SPINNER (widget)->priv->gadget,
allocation,