[gtk+] GtkThemingEngine: don't overshoot when rendering frames.
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] GtkThemingEngine: don't overshoot when rendering frames.
- Date: Sat, 4 Dec 2010 15:22:00 +0000 (UTC)
commit 95ae1a0aa695f86ce1a76ac3e25b2418980c9c02
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]