From 751a330ad83e4b17a7a9dd18158422708fb0dd99 Mon Sep 17 00:00:00 2001 From: Paolo Borelli Date: Fri, 21 Dec 2012 13:53:02 +0100 Subject: [PATCH] Paint GtkFrame background It already paints the css border, so let's make it also honor css background. This is needed to have a box of a different color around some widgets (e.g. latest gnome-clocks design) --- gtk/gtkframe.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gtk/gtkframe.c b/gtk/gtkframe.c index 03e0b2a6f7..fb62cc76e0 100644 --- a/gtk/gtkframe.c +++ b/gtk/gtkframe.c @@ -689,6 +689,8 @@ gtk_frame_draw (GtkWidget *widget, width = priv->child_allocation.width + padding.left + padding.right; height = priv->child_allocation.height + padding.top + padding.bottom; + gtk_render_background (context, cr, x, y, width, height); + if (priv->shadow_type != GTK_SHADOW_NONE) { if (priv->label_widget)