diff options
author | Benjamin Otte <otte@redhat.com> | 2015-12-16 05:15:04 +0100 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2015-12-16 05:15:04 +0100 |
commit | 42fdfb6af4ac3a689a4ec173a8eb2e80c2681700 (patch) | |
tree | 10103e08980f6f3f2b0f24ab402384d7da127ddb /gtk/gtkrenderborder.c | |
parent | fab181fcfa782b19dcc96a1c7f5b47033b4c200b (diff) | |
download | gtk+-42fdfb6af4ac3a689a4ec173a8eb2e80c2681700.tar.gz |
renderborder: Actually draw the path as one element
Avoids spurious lines that can sometimes be seen going towards the
center of the widget.
Diffstat (limited to 'gtk/gtkrenderborder.c')
-rw-r--r-- | gtk/gtkrenderborder.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkrenderborder.c b/gtk/gtkrenderborder.c index 8271b22769..213d65ef81 100644 --- a/gtk/gtkrenderborder.c +++ b/gtk/gtkrenderborder.c @@ -499,9 +499,9 @@ render_frame_stroke (cairo_t *cr, for (i = 0; i < 4; i++) { length += _gtk_rounded_box_guess_length (&stroke_box, i); - _gtk_rounded_box_path_side (&stroke_box, cr, i); } + _gtk_rounded_box_path (&stroke_box, cr); gdk_cairo_set_source_rgba (cr, &colors[0]); set_stroke_style (cr, border_width[0], stroke_style, length); cairo_stroke (cr); |