[gtk+/gtk-style-context: 336/540] GtkThemingEngine: Use square cap for solid frames.
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gtk-style-context: 336/540] GtkThemingEngine: Use square cap for solid frames.
- Date: Fri, 3 Dec 2010 03:04:23 +0000 (UTC)
commit 27a832057266d94b3dc88a01a4ee942e23aa0230
Author: Carlos Garnacho <carlosg gnome org>
Date: Mon Nov 8 20:15:19 2010 +0100
GtkThemingEngine: Use square cap for solid frames.
gtk/gtkthemingengine.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtkthemingengine.c b/gtk/gtkthemingengine.c
index 42ef073..a2cd214 100644
--- a/gtk/gtkthemingengine.c
+++ b/gtk/gtkthemingengine.c
@@ -1654,6 +1654,7 @@ gtk_theming_engine_render_frame (GtkThemingEngine *engine,
break;
case GTK_BORDER_STYLE_SOLID:
cairo_set_line_width (cr, border_width);
+ cairo_set_line_cap (cr, CAIRO_LINE_CAP_SQUARE);
if (border_width > 1)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]