[gtk+] themingengine: remove unused variable
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] themingengine: remove unused variable
- Date: Sat, 11 Jun 2011 07:30:37 +0000 (UTC)
commit 117b50dd21edb66507cd5d61a83678d0522dcd72
Author: Benjamin Otte <otte redhat com>
Date: Sat Jun 11 02:14:40 2011 +0200
themingengine: remove unused variable
gtk/gtkthemingengine.c | 5 +----
1 files changed, 1 insertions(+), 4 deletions(-)
---
diff --git a/gtk/gtkthemingengine.c b/gtk/gtkthemingengine.c
index ccaae3c..dfd110e 100644
--- a/gtk/gtkthemingengine.c
+++ b/gtk/gtkthemingengine.c
@@ -1834,7 +1834,7 @@ render_frame_internal (GtkThemingEngine *engine,
GtkCssBorderCornerRadius *top_left_radius, *top_right_radius;
GtkCssBorderCornerRadius *bottom_left_radius, *bottom_right_radius;
GtkCssBorderRadius border_radius = { { 0, }, };
- gdouble progress, d1, d2, m;
+ gdouble progress, d1, d2;
gboolean running;
GtkBorder border;
gboolean uniform_border;
@@ -1937,9 +1937,6 @@ render_frame_internal (GtkThemingEngine *engine,
cairo_save (cr);
- m = MIN (width, height);
- m /= 2;
-
if (uniform_border)
{
if (border_style == GTK_BORDER_STYLE_INSET)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]