GitLab repository storage has been migrated to hashed layout. Please contact Infrastructure team if you notice any issues with repositories or hooks.

Commit 8c43b3ee authored by Cosimo Cecchi's avatar Cosimo Cecchi

range: remove unused code

parent 6c199478
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment