[gtk+/gtk-style-context: 337/347] 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: 337/347] GtkThemingEngine: Use square cap for solid frames.
- Date: Thu, 11 Nov 2010 01:32:50 +0000 (UTC)
commit 18c0da4f625cc934f5b349fa29bf0d4a0d0fce82
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 34d8acf..808b947 100644
--- a/gtk/gtkthemingengine.c
+++ b/gtk/gtkthemingengine.c
@@ -1658,6 +1658,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]