Don't crash when attempting to enter data in a column without a variable
[pspp] / src / ui / gui / psppire-dialog-action-aggregate.c
index cb0c4727ca1854c8a654ca3957f5743cdd8a13bf..66dda9edcd47bef4df1a3cad0c064f3d11757c4b 100644 (file)
@@ -95,7 +95,7 @@ append_destination_filename (const PsppireDialogActionAggregate *agg, GString *g
 
 
 static char *
-generate_syntax (PsppireDialogAction *act)
+generate_syntax (const PsppireDialogAction *act)
 {
   PsppireDialogActionAggregate *agg = PSPPIRE_DIALOG_ACTION_AGGREGATE (act);
 
@@ -594,8 +594,6 @@ psppire_dialog_action_aggregate_activate (PsppireDialogAction *a)
       psppire_dialog_action_set_valid_predicate (pda, dialog_state_valid);
     }
 
-  if (PSPPIRE_DIALOG_ACTION_CLASS (psppire_dialog_action_aggregate_parent_class)->activate)
-    PSPPIRE_DIALOG_ACTION_CLASS (psppire_dialog_action_aggregate_parent_class)->activate (pda);
 }
 
 static void