frame: Fix gadget conversion

The GtkCssAllocateFunc must set the clip to meaningful values.
This commit is contained in:
Matthias Clasen 2015-12-16 17:12:12 -05:00
parent 576028bdec
commit 2417184a1f

View File

@ -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