forked from AuroraMiddleware/gtk
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:
parent
3829554f3a
commit
91d9ae1cc4
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user