icon: Stop calling gtk_widget_set_allocation

The allocation passed to size-allocate is the content allocation so this
call doesn't make sense anymore.
This commit is contained in:
Timm Bäder 2017-05-04 09:37:05 +02:00 committed by Matthias Clasen
parent 6c484ca4f3
commit 2305ba577d

View File

@ -120,7 +120,6 @@ gtk_icon_size_allocate (GtkWidget *widget,
GtkIconPrivate *priv = gtk_icon_get_instance_private (self);
GtkAllocation clip;
gtk_widget_set_allocation (widget, allocation);
gtk_css_gadget_allocate (priv->gadget, allocation,
gtk_widget_get_allocated_baseline (widget),
&clip);