From 8c43b3ee6004f0687456b7f9ca0e1d987b8938df Mon Sep 17 00:00:00 2001 From: Cosimo Cecchi Date: Sun, 17 Jan 2016 17:27:03 -0200 Subject: [PATCH] range: remove unused code --- gtk/gtkrange.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/gtk/gtkrange.c b/gtk/gtkrange.c index 66b0b15d22..aa102b2c21 100644 --- a/gtk/gtkrange.c +++ b/gtk/gtkrange.c @@ -2310,7 +2310,6 @@ coord_to_value (GtkRange *range, gint trough_length; gint trough_start; gint slider_length; - gint trough_border; if (priv->orientation == GTK_ORIENTATION_VERTICAL) { @@ -2325,8 +2324,6 @@ coord_to_value (GtkRange *range, slider_length = priv->slider.width; } - gtk_range_get_props (range, NULL, NULL, &trough_border, NULL); - if (trough_length == slider_length) frac = 1.0; else