range: remove unused code

This commit is contained in:
Cosimo Cecchi 2016-01-17 17:27:03 -02:00
parent 6c19947859
commit 8c43b3ee60

View File

@ -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