diff --git a/gtk/gtkthemingengine.c b/gtk/gtkthemingengine.c index ccaae3cd2a..dfd110e6c8 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)