mirror of https://github.com/GNOME/gimp.git
Use GtkAdjustment's accessors
This commit is contained in:
parent
06f55eb856
commit
834373eba7
|
@ -412,5 +412,6 @@ static void
|
|||
pressure_adjust_update (GtkAdjustment *adj,
|
||||
ColorselWater *water)
|
||||
{
|
||||
water->pressure_adjust = (adj->upper - adj->value) / 100.0;
|
||||
water->pressure_adjust = (gtk_adjustment_get_upper (adj) -
|
||||
gtk_adjustment_get_value (adj)) / 100.0;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue