MEANS: Prevent parser from entering infinite loop.
[pspp] / src / ui / gui / psppire-dialog-action-descriptives.c
index 55535043a8f995c6ba530387195788da7d5885f8..1acaaaecc68c09ccbf0ee7a0db6125a6da7a5015 100644 (file)
@@ -74,7 +74,7 @@ static const struct checkbox_entry_item stats[] =
 
 
 static char *
-generate_syntax (PsppireDialogAction *act)
+generate_syntax (const PsppireDialogAction *act)
 {
   PsppireDialogActionDescriptives *scd = PSPPIRE_DIALOG_ACTION_DESCRIPTIVES (act);
   gchar *text;
@@ -221,7 +221,7 @@ psppire_dialog_action_descriptives_activate (PsppireDialogAction *a)
                "predicate", var_is_numeric, NULL);
 
   act->stat_vars = GTK_TREE_VIEW (act->variables);
-  
+
   act->include_user_missing =
     GTK_TOGGLE_BUTTON (get_widget_assert (xml, "include_user_missing"));
   act->exclude_missing_listwise =
@@ -231,8 +231,6 @@ psppire_dialog_action_descriptives_activate (PsppireDialogAction *a)
 
   psppire_dialog_action_set_valid_predicate (pda, dialog_state_valid);
   psppire_dialog_action_set_refresh (pda, dialog_refresh);
-
-  PSPPIRE_DIALOG_ACTION_CLASS (psppire_dialog_action_descriptives_parent_class)->activate (pda);
 }
 
 static void