Commit 2417184a authored by Matthias Clasen's avatar Matthias Clasen

frame: Fix gadget conversion

The GtkCssAllocateFunc must set the clip to meaningful values.
parent 576028bd
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment