]> Pileus Git - ~andy/gtk/blobdiff - gtk/gtkcolorswatch.c
color-swatch: render a background if the swatch doesn't have a color
[~andy/gtk] / gtk / gtkcolorswatch.c
index f0bde916488952bdb44d7d4b30eb4139d7e7f32c..0429455124818d4c05ed5145406652ebc9f77f96 100644 (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);