[gtk+/gtk-3-18] Fix rendering of unsymmetric borders



commit cc3bc754023f91db85f6a3908d58038894a00c17
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 47973ad..1e8094b 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]