mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-16 21:50:34 +00:00
range: remove unused code
This commit is contained in:
parent
6c19947859
commit
8c43b3ee60
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user