diff options
author | Matthias Clasen <mclasen@redhat.com> | 2015-12-16 17:12:12 -0500 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2015-12-16 17:12:12 -0500 |
commit | 2417184a1f1e95e0c5ac3493a6af8e0ae914c916 (patch) | |
tree | 1e1b1b41f769be4518c66ae178ce4fa5b0f9363d | |
parent | 576028bdec90b27a42e8a65755dc0b2e235cdf5a (diff) | |
download | gtk+-2417184a1f1e95e0c5ac3493a6af8e0ae914c916.tar.gz |
frame: Fix gadget conversion
The GtkCssAllocateFunc must set the clip to meaningful values.
-rw-r--r-- | gtk/gtkframe.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk/gtkframe.c b/gtk/gtkframe.c index c50c1df01f..41b094840c 100644 --- a/gtk/gtkframe.c +++ b/gtk/gtkframe.c @@ -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 |