From dcec8dfddec02e0dd6d01d861c3cfdbeb418233a Mon Sep 17 00:00:00 2001 From: Cosimo Cecchi Date: Fri, 17 Feb 2012 18:57:24 +0100 Subject: [PATCH] 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. --- gtk/gtkcolorswatch.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gtk/gtkcolorswatch.c b/gtk/gtkcolorswatch.c index f0bde91648..0429455124 100644 --- a/gtk/gtkcolorswatch.c +++ b/gtk/gtkcolorswatch.c @@ -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);