color-swatch: render a background if the swatch doesn't have a color

We still want to call into the background rendering code, to draw the
default background.
This commit is contained in:
Cosimo Cecchi 2012-02-17 18:57:24 +01:00
parent 8e85702dca
commit dcec8dfdde

View File

@ -145,6 +145,8 @@ swatch_draw (GtkWidget *widget,
_gtk_theming_background_render (&background, cr);
}
else
_gtk_theming_background_render (&background, cr);
gtk_render_frame (context, cr,
0, 0, width, height);