PsppireDialogAction (generate_syntax): Change signature.
[pspp] / src / ui / gui / psppire-dialog-action-compute.c
index e40dcd89581b3563e4e0d9b500c21d0c14b066e9..c6d9692397f86b2bf14be9b3bd1c095626b60e6c 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);