forked from AuroraMiddleware/gtk
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:
parent
b01b5267bb
commit
29f7bde023
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user