forked from AuroraMiddleware/gtk
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:
parent
6c484ca4f3
commit
2305ba577d
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user