[gtk+/gtk-style-context: 471/533] GtkThemingEngine: don't overshoot when rendering frames.
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gtk-style-context: 471/533] GtkThemingEngine: don't overshoot when rendering frames.
- Date: Wed, 1 Dec 2010 02:45:25 +0000 (UTC)
commit 0e7dbc940fda65cf2f6998ede75f7791346a89a5
Author: Carlos Garnacho <carlosg gnome org>
Date: Wed Nov 24 01:16:15 2010 +0100
GtkThemingEngine: don't overshoot when rendering frames.
gtk/gtkthemingengine.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkthemingengine.c b/gtk/gtkthemingengine.c
index c3e1924..2fac0ba 100644
--- a/gtk/gtkthemingengine.c
+++ b/gtk/gtkthemingengine.c
@@ -1620,7 +1620,7 @@ render_frame_internal (GtkThemingEngine *engine,
if (border_width > 1)
{
d1 = (gdouble) border_width / 2;
- d2 = (gdouble) (border_width - (gint) d1) + 1;
+ d2 = border_width;
}
else
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]