label: Don't add in the allocation to our clip again

_gtk_widget_set_simple_clip already takes the allocation into account,
so we don't need to do it here.
This commit is contained in:
Jasper St. Pierre 2014-09-30 12:32:47 -06:00
parent 3829554f3a
commit 91d9ae1cc4

View File

@ -4053,7 +4053,6 @@ gtk_label_size_allocate (GtkWidget *widget,
}
gtk_label_get_ink_rect (label, &clip_rect);
gdk_rectangle_union (&clip_rect, allocation, &clip_rect);
_gtk_widget_set_simple_clip (widget, &clip_rect);
}