diff --git a/plug-ins/file-jpeg/jpeg-save.c b/plug-ins/file-jpeg/jpeg-save.c index e4c94347ad..6072c26bcd 100644 --- a/plug-ins/file-jpeg/jpeg-save.c +++ b/plug-ins/file-jpeg/jpeg-save.c @@ -1371,7 +1371,7 @@ save_restart_update (GtkAdjustment *adjustment, GtkWidget *toggle) { if (gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (toggle))) - jsvals.restart = adjustment->value; + jsvals.restart = gtk_adjustment_get_value (adjustment); else jsvals.restart = 0;