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)
This commit is contained in:
Paolo Borelli 2012-12-21 13:53:02 +01:00
parent 3dfce49032
commit 751a330ad8

View File

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