Don't crash when attempting to enter data in a column without a variable
[pspp] / src / ui / gui / psppire-dialog-action-paired.c
index c08a4d60e6ef2dc6421e903342f263fc7aae0d04..31ff2844cf9845ecbf0eead1a3f8f5a4e077a4f8 100644 (file)
@@ -124,7 +124,7 @@ select_as_pair_member (GtkTreeIter source_iter,
 
 
 static gchar *
-generate_syntax (PsppireDialogAction *pda)
+generate_syntax (const PsppireDialogAction *pda)
 {
   PsppireDialogActionPaired *d = PSPPIRE_DIALOG_ACTION_PAIRED (pda);
   gchar *text = NULL;
@@ -197,8 +197,6 @@ psppire_dialog_action_paired_activate (PsppireDialogAction *a)
                                        act);
     }
   
-  if (PSPPIRE_DIALOG_ACTION_CLASS (psppire_dialog_action_paired_parent_class)->activate)
-    PSPPIRE_DIALOG_ACTION_CLASS (psppire_dialog_action_paired_parent_class)->activate (pda);
 }
 
 static void