forked from AuroraMiddleware/gtk
frame: Fix gadget conversion
The GtkCssAllocateFunc must set the clip to meaningful values.
This commit is contained in:
parent
576028bdec
commit
2417184a1f
@ -852,6 +852,8 @@ gtk_frame_allocate_border (GtkCssGadget *gadget,
|
||||
child = gtk_bin_get_child (GTK_BIN (widget));
|
||||
if (child && gtk_widget_get_visible (child))
|
||||
gtk_widget_size_allocate (child, (GtkAllocation *)allocation);
|
||||
|
||||
*out_clip = *allocation;
|
||||
}
|
||||
|
||||
static void
|
||||
|
Loading…
Reference in New Issue
Block a user