Use gtk_adjustment_get_value() instead of adjustment->value

This commit is contained in:
Michael Natterer 2009-10-09 17:08:10 +02:00
parent a651f4b056
commit d0fae3d338
1 changed files with 1 additions and 1 deletions

View File

@ -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;