From d0fae3d338b0b75eda3cd2b2d6458c8083f398f2 Mon Sep 17 00:00:00 2001 From: Michael Natterer Date: Fri, 9 Oct 2009 17:08:10 +0200 Subject: [PATCH] Use gtk_adjustment_get_value() instead of adjustment->value --- plug-ins/file-jpeg/jpeg-save.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;