Commit 36fead28 authored by Timm Bäder's avatar Timm Bäder 👎

gtkcssimagebuiltin: Save/restore around cairo_clip

This was previously causing trouble in checkbuttons where the check node
didn't have an icon shadow set, e.g. in Raleigh.
parent d1b07bc3
......@@ -95,6 +95,7 @@ gtk_css_image_builtin_draw_check (GtkCssImage *image,
{
if (checked)
{
cairo_save (cr);
cairo_translate (cr,
x + pad, y + pad);
......@@ -123,6 +124,7 @@ gtk_css_image_builtin_draw_check (GtkCssImage *image,
7.0, 0.0);
cairo_fill (cr);
cairo_restore (cr);
}
}
}
......
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