From: John Darrington Date: Sat, 4 Jul 2020 10:29:18 +0000 (+0200) Subject: Autorecode Dialog: Use correct dictionary pointer X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=01e6062d7ee2222e7ce3f93115b3e3d156d6b800;p=pspp Autorecode Dialog: Use correct dictionary pointer --- diff --git a/src/ui/gui/psppire-dialog-action-autorecode.c b/src/ui/gui/psppire-dialog-action-autorecode.c index 248f9ab2b3..ed82bce8e2 100644 --- a/src/ui/gui/psppire-dialog-action-autorecode.c +++ b/src/ui/gui/psppire-dialog-action-autorecode.c @@ -206,7 +206,7 @@ on_entry_change (PsppireDialogActionAutorecode *rd) if (0 == strcmp ("", text)) valid = FALSE; - else if (psppire_dict_lookup_var (rd->dict, text)) + else if (psppire_dict_lookup_var (PSPPIRE_DIALOG_ACTION (rd)->dict, text)) valid = FALSE; else { diff --git a/src/ui/gui/psppire-dialog-action-autorecode.h b/src/ui/gui/psppire-dialog-action-autorecode.h index d07ffc5a95..3f222b9979 100644 --- a/src/ui/gui/psppire-dialog-action-autorecode.h +++ b/src/ui/gui/psppire-dialog-action-autorecode.h @@ -60,8 +60,6 @@ struct _PsppireDialogActionAutorecode /*< private >*/ gboolean dispose_has_run ; - - PsppireDict *dict; GtkWidget *change_button; GtkWidget *new_name_entry; GtkWidget *var_view;