mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-28 22:41:43 +00:00
switch: Avoid a gtk_widget_get_clip call
Since we get the correct clip anyway from the gtk_widget_size_allocate call above.
This commit is contained in:
parent
922b2cf99a
commit
f261bf2fc6
@ -334,7 +334,6 @@ gtk_switch_size_allocate (GtkWidget *widget,
|
||||
slider_alloc.height = allocation->height;
|
||||
|
||||
gtk_widget_size_allocate (priv->slider, &slider_alloc, -1, &child_clip);
|
||||
gtk_widget_get_clip (priv->slider, &child_clip);
|
||||
gdk_rectangle_union (out_clip, &child_clip, out_clip);
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user