X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fui%2Fgui%2Fpsppire-dialog-action-compute.c;h=18292cec9397e5a2bb03669156ee3de4e0bc35c9;hb=74efe9d6abd58f6fff46b61cb22b0c8614c9ee2a;hp=e40dcd89581b3563e4e0d9b500c21d0c14b066e9;hpb=ed208cf009043f0bf319a4e919c279d5b1401f36;p=pspp diff --git a/src/ui/gui/psppire-dialog-action-compute.c b/src/ui/gui/psppire-dialog-action-compute.c index e40dcd8958..18292cec93 100644 --- a/src/ui/gui/psppire-dialog-action-compute.c +++ b/src/ui/gui/psppire-dialog-action-compute.c @@ -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