Populate the data sheet in the import assistant
[pspp] / src / ui / gui / psppire-dialog-action-compute.c
index e40dcd89581b3563e4e0d9b500c21d0c14b066e9..18292cec9397e5a2bb03669156ee3de4e0bc35c9 100644 (file)
@@ -35,7 +35,7 @@ G_DEFINE_TYPE (PsppireDialogActionCompute, psppire_dialog_action_compute, PSPPIR
 
 
 static char *
-generate_syntax (PsppireDialogAction *act)
+generate_syntax (const PsppireDialogAction *act)
 {
   PsppireDialogActionCompute *cd = PSPPIRE_DIALOG_ACTION_COMPUTE (act);
   gchar *text;
@@ -456,7 +456,7 @@ insert_function_into_syntax_area (GtkTreeIter iter,
 
 
 static void
-psppire_dialog_action_compute_activate (GtkAction *a)
+psppire_dialog_action_compute_activate (PsppireDialogAction *a)
 {
   PsppireDialogAction *pda = PSPPIRE_DIALOG_ACTION (a);
   PsppireDialogActionCompute *act = PSPPIRE_DIALOG_ACTION_COMPUTE (a);
@@ -527,8 +527,6 @@ psppire_dialog_action_compute_activate (GtkAction *a)
       psppire_dialog_action_set_refresh (pda, refresh);
     }
 
-  if (PSPPIRE_DIALOG_ACTION_CLASS (psppire_dialog_action_compute_parent_class)->activate)
-    PSPPIRE_DIALOG_ACTION_CLASS (psppire_dialog_action_compute_parent_class)->activate (pda);
 }
 
 static void