[gtk+/gtk-3-22] render: Clip the correct rectangle
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gtk-3-22] render: Clip the correct rectangle
- Date: Tue, 8 Nov 2016 01:26:06 +0000 (UTC)
commit 34d45def3707ee34e08235ab6ff4010483086d77
Author: Benjamin Otte <otte redhat com>
Date: Tue Nov 8 02:15:43 2016 +0100
render: Clip the correct rectangle
We translated before.
gtk/gtkrenderbackground.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkrenderbackground.c b/gtk/gtkrenderbackground.c
index b41d3a5..e691bfc 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);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]