Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Dorota Czaplejewicz
gtk
Commits
43f7fb83
Commit
43f7fb83
authored
Oct 24, 2010
by
Carlos Garnacho
Browse files
GtkThemingEngine: Clear the background for .background class
parent
d565e159
Changes
1
Hide whitespace changes
Inline
Side-by-side
gtk/gtkthemingengine.c
View file @
43f7fb83
...
...
@@ -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
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment