diff options
author | Benjamin Otte <otte@redhat.com> | 2016-11-08 02:15:43 +0100 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2016-11-08 02:32:29 +0100 |
commit | f9da4f0270c8ebbadc1500bd42bd2594c4c9edb3 (patch) | |
tree | 86ef8a782f55dd85b54ac5f205e04170918b8935 /gtk/gtkrenderbackground.c | |
parent | 8d212ae5c20d08cbbac9da12bd358059c14f8884 (diff) | |
download | gtk+-f9da4f0270c8ebbadc1500bd42bd2594c4c9edb3.tar.gz |
render: Clip the correct rectangle
We translated before.
Diffstat (limited to 'gtk/gtkrenderbackground.c')
-rw-r--r-- | gtk/gtkrenderbackground.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkrenderbackground.c b/gtk/gtkrenderbackground.c index 80e17dcb18..c3bc5cd2de 100644 --- a/gtk/gtkrenderbackground.c +++ b/gtk/gtkrenderbackground.c @@ -387,7 +387,7 @@ gtk_css_style_render_background (GtkCssStyle *style, if (needs_push_group) { cairo_save (cr); - cairo_rectangle (cr, x, y, width, height); + cairo_rectangle (cr, 0, 0, width, height); cairo_clip (cr); cairo_push_group (cr); } |