mirror of https://github.com/GNOME/gimp.git
Use gtk_adjustment_get_value() instead of adjustment->value
This commit is contained in:
parent
a651f4b056
commit
d0fae3d338
|
@ -1371,7 +1371,7 @@ save_restart_update (GtkAdjustment *adjustment,
|
||||||
GtkWidget *toggle)
|
GtkWidget *toggle)
|
||||||
{
|
{
|
||||||
if (gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (toggle)))
|
if (gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (toggle)))
|
||||||
jsvals.restart = adjustment->value;
|
jsvals.restart = gtk_adjustment_get_value (adjustment);
|
||||||
else
|
else
|
||||||
jsvals.restart = 0;
|
jsvals.restart = 0;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue