[gtk+] Fix rendering of unsymmetric borders
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Fix rendering of unsymmetric borders
- Date: Sun, 10 Jan 2016 04:45:01 +0000 (UTC)
commit 0ddc1eed1904c0df8789ea678569629f8dfdddc4
Author: Matthias Clasen <mclasen redhat com>
Date: Sat Jan 9 23:42:37 2016 -0500
Fix rendering of unsymmetric borders
There was an errant path that threw off our clipping for
the top section of the border.
https://bugzilla.gnome.org/show_bug.cgi?id=722937
gtk/gtkrenderborder.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkrenderborder.c b/gtk/gtkrenderborder.c
index 84f8142..6940f6f 100644
--- a/gtk/gtkrenderborder.c
+++ b/gtk/gtkrenderborder.c
@@ -511,7 +511,6 @@ render_frame_stroke (cairo_t *cr,
GtkRoundedBox padding_box;
padding_box = *border_box;
- _gtk_rounded_box_path (&padding_box, cr);
_gtk_rounded_box_shrink (&padding_box,
border_width[GTK_CSS_TOP],
border_width[GTK_CSS_RIGHT],
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]