Autorecode Dialog: Use correct dictionary pointer
authorJohn Darrington <john@darrington.wattle.id.au>
Sat, 4 Jul 2020 10:29:18 +0000 (12:29 +0200)
committerJohn Darrington <john@darrington.wattle.id.au>
Sat, 4 Jul 2020 10:29:18 +0000 (12:29 +0200)
src/ui/gui/psppire-dialog-action-autorecode.c
src/ui/gui/psppire-dialog-action-autorecode.h

index 248f9ab2b3d7ba99738dcf7c0387c731eeb3e345..ed82bce8e293e966e3f468fbbe069f7a61f29a04 100644 (file)
@@ -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
     {
index d07ffc5a95d2cc959c9294494153ffb8923f7992..3f222b997953c8df079e8cdaa6565042464f7b61 100644 (file)
@@ -60,8 +60,6 @@ struct _PsppireDialogActionAutorecode
   /*< private >*/
   gboolean dispose_has_run ;
 
-
-  PsppireDict *dict;
   GtkWidget *change_button;
   GtkWidget *new_name_entry;
   GtkWidget *var_view;