label: Don't use gtk_widget_set_simple_clip

The clip returned by gtk_css_gadget_allocate already includes the
box-shadow size and we manually care about the text-shadow size.
This commit is contained in:
Timm Bäder 2017-04-25 11:57:12 +02:00
parent b01b5267bb
commit 29f7bde023

View File

@ -4005,7 +4005,7 @@ gtk_label_size_allocate (GtkWidget *widget,
gtk_label_get_ink_rect (label, &clip_rect);
gdk_rectangle_union (&clip_rect, &clip, &clip_rect);
_gtk_widget_set_simple_clip (widget, &clip_rect);
gtk_widget_set_clip (widget, &clip_rect);
}
static void