Commit 43f7fb83 authored by Carlos Garnacho's avatar Carlos Garnacho
Browse files

GtkThemingEngine: Clear the background for .background class

parent d565e159
......@@ -1278,6 +1278,13 @@ gtk_theming_engine_render_background (GtkThemingEngine *engine,
SIDE_ALL, junction);
cairo_clip (cr);
if (gtk_theming_engine_has_class (engine, "background"))
{
cairo_set_source_rgba (cr, 1.0, 1.0, 1.0, 0.0); /* transparent */
cairo_set_operator (cr, CAIRO_OPERATOR_SOURCE);
cairo_paint (cr);
}
cairo_translate (cr, x, y);
cairo_scale (cr, width, height);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment