forked from AuroraMiddleware/gtk
Fix clip of more windowed widgets
This commit is contained in:
parent
acbdd5c8f2
commit
5c99f7a670
@ -511,6 +511,8 @@ gtk_flow_box_child_size_allocate (GtkWidget *widget,
|
||||
gtk_widget_get_allocated_baseline (widget),
|
||||
&clip);
|
||||
|
||||
clip.x += allocation->x;
|
||||
clip.y += allocation->y;
|
||||
gtk_widget_set_clip (widget, &clip);
|
||||
}
|
||||
|
||||
|
@ -2680,7 +2680,9 @@ gtk_list_box_size_allocate (GtkWidget *widget,
|
||||
gtk_widget_get_allocated_baseline (widget),
|
||||
&clip);
|
||||
|
||||
_gtk_widget_set_simple_clip (widget, &clip);
|
||||
clip.x += allocation->x;
|
||||
clip.y += allocation->y;
|
||||
gtk_widget_set_clip (widget, &clip);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user